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
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
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.
vaibhavi writes:
hello,
I am working on project where my database is mysql. I need whole list
of error codes eg code when there is primary key violation, or other
such database related problems.I have tried perror but that all are
system related problems.I want code for database
hello,
I am working on project where my database is mysql. I need whole list
of error codes eg code when there is primary key violation, or other
such database related problems.I have tried perror but that all are
system related problems.I want code for database related problems.
vaibhavi