10bet网址
MySQL 8.0 C API Developer Guide
Download this Manual

5.4.61 mysql_reload ()

int mysql_reload(MYSQL *mysql)

Description

Asks the MySQL server to reload the grant tables. The connected user must have theRELOADprivilege.

This function is deprecated. Usemysql_real_query()ormysql_query()to issue an SQLFLUSH PRIVILEGESstatement instead.

Return Values

Zero for success. Nonzero if an error occurred.

Errors