mysql_refresh
mysql_refresh flushes server-side caches and state using a bitmask of options such as REFRESH_GRANT, REFRESH_LOG, REFRESH_TABLES, and REFRESH_HOSTS.
Syntax
int mysql_refresh(MYSQL * mysql,
unsigned int options);
Parameters
options - a bit masked composed integer. See below.
Description
Flushes different types of information stored on the server. The bit-masked parameter options specify which kind of information will be flushed.
options can be any combination of the following:
Returns zero on success, otherwise nonzero.