mysqladmin-urootstatusUptime:3865Threads:1Questions:50Slowqueries:0Opens:113Flushtables:1Opentables:102Queriespersecondavg:0.012"/> mysqladmin-urootstatusUptime:3865Threads:1Questions:50Slowqueries:0Opens:113Flushtables:1Opentables:102Queriespersecondavg:0.012">

Home  >  Article  >  Database  >  How to check the status of MySQL server?

How to check the status of MySQL server?

PHPz
PHPzforward
2023-09-03 19:41:02785browse

How to check the status of MySQL server?

With the help of "mysqladmin" and "status" option programs, we can check the status of the MySQL server. It can be used on the command line as follows -

C:\mysql\bin>mysqladmin -u root status
Uptime: 3865 Threads: 1 Questions: 50 Slow queries: 0 Opens: 113
Flush tables: 1 Open tables: 102 Queries per second avg: 0.012

The above is the detailed content of How to check the status of MySQL server?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete