Re: mysql_errno codes
| From: | Jeff Harris | Date: | Mon, 16 Jun 2003 16:59:47 +0000 |
| Subject: | Re: mysql_errno codes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151689@lists.php.net to get a copy of this message | ||
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.