Name

mysql_stat( )

Synopsis

char * mysql_stat(MYSQL *mysql)

This returns a character string containing information about the status of the MySQL server for the current connection.

...
printf("Server Status \n %s \n", mysql_stat(mysql));
...

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.