Two ways for MySQL to view the current running status _ MySQL

Source: Internet
Author: User
Two ways for MySQL to view the current running status: bitsCN.com 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:


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. BitsCN.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.