Oracle 5.0 Reference Manual page 2206

Table of Contents

Advertisement

mysql_real_connect():
If you are using the
this means that
CALL.
Return Values
Zero for success. Nonzero if an error occurred.
Errors
CR_COMMANDS_OUT_OF_SYNC
Commands were executed in an improper order.
CR_SERVER_GONE_ERROR
The MySQL server has gone away.
CR_SERVER_LOST
The connection to the server was lost during the query.
ER_UNKNOWN_COM_ERROR
The server didn't support
than 4.1.1) or the server didn't support the option one tried to set.
20.6.6.65.
mysql_shutdown()
int mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level
shutdown_level)
Description
Asks the database server to shut down. The connected user must have the
The
shutdown_level
one type of shutdown;
shutdown levels are planned to make it possible to choose the desired level. Dynamically linked
executables which have been compiled with older versions of the
mysql_shutdown()
The shutdown process is described in
Return Values
Zero for success. Nonzero if an error occurred.
Errors
CR_COMMANDS_OUT_OF_SYNC
Commands were executed in an improper order.
CR_SERVER_GONE_ERROR
The MySQL server has gone away.
CR_SERVER_LOST
The connection to the server was lost during the query.
CR_UNKNOWN_ERROR
C API Function Descriptions
CLIENT_MULTI_STATEMENTS
SQL statement in your programs, multiple-result support must be enabled;
CALL
MYSQL_OPTION_MULTI_STATEMENTS_ON
[2942]
[2942]
[2942]
[2914]
mysql_set_server_option()
argument was added in MySQL 5.0.1. MySQL 5.0 servers support only
shutdown_level
need to be used with the old
[2942]
[2942]
[2942]
[2941]
also enables CLIENT_MULTI_RESULTS.
by itself is insufficient to permit the use of
must be equal to SHUTDOWN_DEFAULT. Additional
libmysqlclient
Section 5.1.10, "The Shutdown
2186
(which is the case that the server is older
SHUTDOWN
libmysqlclient
dynamic library.
Process".
[578]
privilege.
headers and call

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents