On Jun 16, 2003, "Thomas Hochstetter" claimed that: |Hi. | |[3rd try] ... where can i get mysql_error codes from? The ones that |mysql_errno returns. | |Thanks |Thomas |
All mysqld error messages are located into the file $MYSQL_ROOT_DIR/$LANGUAGE/errmsg.txt (or thereabouts) and listed in numerical order from 999 to 1175. You can change the output language as well, issuing the '-L spanish' option for example. See the manual for more details. try a "$ locate errmsg.txt" Or, if you need them at runtime, try http://www.php.net/manual/en/function.mysql-error.php -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php