📅  最后修改于: 2022-03-11 15:05:29.309000             🧑  作者: Mango
- Linux, choose:
sudo service mysql status
mysqladmin -u root -p status
/etc/init.d/mysql status
-- Windows, choose:
C:\> "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqlshow"
C:\> "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqlshow" -u root mysql
C:\> "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqladmin" version status proc
C:\> "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" test