mysql-php / errors
MySQL Server Error Constants for PHP
Installs: 43 685
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2024-12-04 21:05:28 UTC
README
MySQL Server Error Constants
Covers up to MySQL 5.7.13. Notice that some constants were renamed in later versions of MySQL, because they became obsolete. (In case you wonder: the names here match the symbols MySQL uses in source code.) Obsolete names haven't been changed in this package to avoid breaking code, but you should no longer be using them in applications.
Usage
To start using error constants in your code, require mysql-php/errors in Composer:
composer require mysql-php/errors
Changes
Here's the full list of changes since this package's first version: