mysql_dump_debug_info — Dump server status information

int mysql_dump_debug_info(MYSQL * mysql);

This function is designed to be executed by an user with the SUPER privilege and is used to dump server status information into the log for the MariaDB Server relating to the connection.

Parameters

mysql

A mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().

Return value

Zero on success, nonzero if an error occured.

[Note]

The server status information will be dumped into the error log file, which can be found in the data directory of your server installation.

See also

mysql_debug(), mysql_debug_end()