Name
mysql_dump_debug_info( )
Synopsis
int mysql_dump_debug_info(MYSQL *mysql)
Use this to write debugging information about the current connection to the MySQL server’s logfile. The user must have administrative privileges. It returns 0 if successful, nonzero if unsuccessful.
... if(!mysql_dump_debug_info(mysql)) { printf("Debugging Info. Written. \n"); } ...
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.