(PHP 4 = 4.3.0)
mysql_stat() returns the current server status.
注意 mysql_stat() currently only returns 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.
例 1 mysql_stat() example
The above example would produce the following output: