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.
mysql
A mysql handle, which was previously allocated by mysql_init()
or mysql_real_connect()
.