## Example

`

     string mysql_stat ([ resource $link_identifier ] )

`

## Description

mysql_stat() returns the current server status.

## Return Values

Returns a string with the 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. If link_identifier is invalid, NULL is returned.