更新时间:2021-09-30 22:55:50
从命令行(开始/运行/输入cmd,按确定),输入:
from the commandline (start/run/ type cmd, press ok), type:
telnet localhost 3306
如果 MySQL 正在运行,您将看到 mysql 版本(和一些垃圾).
If MySQL is running, you'll see the mysql version (and some garbage).
要查看服务是否正在运行,请键入:
To see if the service is running, type:
sc query mysql
如果它正在运行,您会看到类似的内容:
You'll see something like this if it's running:
SERVICE_NAME: mysql
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE,PAUSABLE,ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0