diff --git a/reference/mysql/functions/mysql-stat.xml b/reference/mysql/functions/mysql-stat.xml
index 198281f752..fd337d9c46 100644
--- a/reference/mysql/functions/mysql-stat.xml
+++ b/reference/mysql/functions/mysql-stat.xml
@@ -1,44 +1,61 @@
-
+
-
-
- mysql_stat
- Get current system status
-
-
- Description
-
- stringmysql_stat
- resourcelink_identifier
-
-
- 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.
-
-
-
-
- mysql_stat example
-
+
+
+ mysql_stat
+ Get current system status
+
+
+ &reftitle.description;
+
+ stringmysql_stat
+ resourcelink_identifier
+
+
+ mysql_stat returns the current server status.
+
+
+
+ &reftitle.parameters;
+
+
+
+ link_identifier
+
+
+ Link to the MySQL connection.
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ 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.
+
+
+
+ &reftitle.examples;
+
+
+ mysql_stat example
+
]]>
-
-
- The above example would produce the following output:
-
-
+
+ &example.outputs.similar;
+
Queries per second avg: 245.595
)
]]>
-
-
-
-
- See also
- mysql_get_server_info and
- mysql_list_processes.
-
-
-
+
+
+
+
+
+ Alternative mysql_stat example
+
+
+]]>
+
+ &example.outputs.similar;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ mysql_get_server_info
+ mysql_list_processes
+
+
+
+