No cache version.
Caching disabled. Default setting for this page:enabled (code DEF204)If the display is too slow, you can disable the user mode to view the cached version.
Rechercher dans le manuel MySQL
28.7.7.14 mysql_errno()
unsigned int mysql_errno(MYSQL *mysql)
Description
For the connection specified by mysql
,
mysql_errno()
returns the
error code for the most recently invoked API function that can
succeed or fail. A return value of zero means that no error
occurred. Client error message numbers are listed in the MySQL
errmsg.h
header file. Server error
message numbers are listed in
mysqld_error.h
. Errors also are listed at
Appendix B, Errors, Error Codes, and Common Problems.
Some functions such as
mysql_fetch_row()
do not set
mysql_errno()
if they
succeed. A rule of thumb is that all functions that have to
ask the server for information reset
mysql_errno()
if they
succeed.
MySQL-specific error numbers returned by
mysql_errno()
differ from
SQLSTATE values returned by
mysql_sqlstate()
. For example,
the mysql client program displays errors
using the following format, where 1146
is
the mysql_errno()
value and
'42S02'
is the corresponding
mysql_sqlstate()
value:
An error code value for the last
mysql_
call, if it failed. zero means no error occurred.
xxx
()
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph