Re: MySQL error code list

2001-07-02 Thread Gerald Clark
Check the source. There is an error.h file. Lee, John wrote: Hi all, I am a newbie in MySQL and would like to know if there is a list of error codes for accessing MySQL database. What I am asking is something like What is the return error code for record (or row) not found? or What is

Re: MySQL error code list

2001-07-02 Thread Werner Stuerenburg
This is in the manual - how to find out and some examples: perror 126 127 132 134 135 136 141 144 145 126 = Index file is crashed / Wrong file format 127 = Record-file is crashed 132 = Old database file 134 = Record was already deleted (or record file crashed) 135 = No more room in record file

MySQL error code list

2001-07-01 Thread Lee, John
Hi all, I am a newbie in MySQL and would like to know if there is a list of error codes for accessing MySQL database. What I am asking is something like What is the return error code for record (or row) not found? or What is the return error code if table doesn't exist, etc? Thanks in advance.