-
Notifications
You must be signed in to change notification settings - Fork 259
mysql_dump_debug_info
Georg Richter edited this page May 29, 2023
·
1 revision
mysql_dump_debug_info - dump server status into log
#include <mysql.h>
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
is a connection identifier, which was previously allocated by mysql_init() and connected by mysql_real_connect().
The server status information will be dumped into the error log file, which can usually be found in the data directory of your server installation.
Returns zero on success, nonzero if an error occurred.
MariaDB Connector/C Reference