Method 1: Use the mysql command to view
In MySQL, you can view common system information directly by checking the status, as shown in the following example:
Copy codeThe Code is as follows:
1. $ mysql-u root-p
2. mysql> s
"Threads: 2 Questions: 224857636 Slow queries: 229 Opens: 1740 Flush tables: 1 Open tables: 735 Queries per second avg: 137.566
$ Mysql-u root-p-e "status" # s = status,
This will also list the above results.
Method 2: Use phpmyadmin to view
In the simplest way, click the status in phpMyAdmin to view details, as shown in.
This shows the running status values of MySQL. This method is ignored by most system administrators, because professional MySQL servers are rarely accessible through phpMyAdmin. Other viewing methods will be introduced later, however, phpMyAdmin provides guidance and reference for optimization suggestions.