mysql_dump_debug_info
mysql_dump_debug_info instructs a MariaDB server to write connection status information to the error log, and requires the SUPER privilege for the current user.
Syntax
int mysql_dump_debug_info(MYSQL * mysql);Parameter
mysql- a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Description
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.
Return Value
Returns zero on success, nonzero if an error occurred.
See Also
mysql_debug_end()
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

