Oracle 5.0 Reference Manual page 2201

Table of Contents

Advertisement

REFRESH_STATUS
Reset status variables, like
REFRESH_THREADS
Flush the thread cache.
REFRESH_SLAVE
On a slave replication server, reset the master server information and restart the slave, like
SLAVE.
REFRESH_MASTER
On a master replication server, remove the binary log files listed in the binary log index and truncate
the index file, like
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
An unknown error occurred.
20.6.6.56.
mysql_reload()
int mysql_reload(MYSQL *mysql)
Description
Asks the MySQL server to reload the grant tables. The connected user must have the
privilege.
This function is deprecated. It is preferable to use
PRIVILEGES
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
C API Function Descriptions
FLUSH
RESET
MASTER.
[2942]
[2942]
[2942]
[2941]
statement instead.
[2942]
[2942]
STATUS.
mysql_query()
2181
RELOAD
to issue an SQL
FLUSH
RESET
[577]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents