mysql-php / errors
MySQL Server Error Constants for PHP
v1.0.0
2017-12-12 15:43 UTC
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2024-11-04 20:45:25 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: