Synopsis
char * mysql_stat(MYSQL *mysql)
This function returns a character string containing
information about the status of the MySQL server for the current
connection. Here is an example:
...
printf("Server Status \n %s \n", mysql_stat(mysql));
...