CLI
执行 mysqladmin -u root -p status
,输入MySQL密码
╰─ mysqladmin -u root -p status
Enter password:
Uptime: 2362 Threads: 2 Questions: 2 Slow queries: 0 Opens: 117 Flush tables: 3 Open tables: 38 Queries per second avg: 0.000
表示MYSQL正在工作
System
绿标,并且状态是 Stop MySQL Server,表示MySQL正在运行