For the complete documentation index, see llms.txt. This page is also available as Markdown.

mysql_stat

mysql_stat returns a status string from the MariaDB server covering uptime, active threads, query count, open tables, and queries per second.

Syntax

char * mysql_stat(MYSQL * mysql);

Parameter

Description

mysql_stat() returns a string with the current server status for uptime, threads, queries, open tables, flush tables and queries per second.

For a complete list of other status variables, you have to use the SHOW STATUS SQL command.

See Also

spinner

Last updated

Was this helpful?