You are here : cpp0mysql_reload

mysql_reload() - 0

 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