You are here : Cmysql/mysql.hmysql_reload

mysql_reload() - mysql/mysql.h

 Asks the MySQL server to reload the grant tables. The connected
        user must have the RELOAD
        privilege.RELOADRELOADThis function is deprecated. It is preferable to use
        mysql_query() to issue an SQL
        FLUSH
        PRIVILEGES statement instead.mysql_query()mysql_query()FLUSH
        PRIVILEGESFLUSH
        PRIVILEGES


Syntax

int mysql_reload(MYSQL *mysql)


Example

 


Output / Return Value

 Zero for success. Nonzero if an error occurred.


Limitations


Alternatives / See Also


Reference