1. DOS命令下 :
ERROR 2003 <HY0000>:Can't connect to MySQL server on localhos (10061t)
解决方法: 启动 mysql 服务器(notifier).
2A.DOS :net start mysql 系统错误5
解决方法: cmd右键管理员身份打开----net start mysql
2B.管理员身份启动,net start mysql 出现:服务没有报告任何错误,请键入NET HELPMSG
解决方法:
3.windows 无法启动mysql 5.7.13 :本计算机上的MYSQL服务启动后停止。某些服务在未由其他服务或程序使用时停止。
解决方法:
4.Can't connect to MySQL server on localhost (10061)
解决方法:1.看看hosts文件中localhost是不是指向127.0.0.1
2.如果是没启动mysql服务,则可运行net start mysql。
3.一些相关命令:
mysqld-nt --install #启动Mysql
mysql #运行Mysql
5.The service MYSQL failed the most recent status change request with the message.The service mysql was not found in the windows Services...
解决办法:a重装:
一定要删掉注册表 + C://programdata(隐藏文件)/mysql,
cmd/regedit
KEY_LOCAL_MACHINE/SYSTEM/controlSet001/service/eventlog/application/mysql\
KEY_LOCAL_MACHINE/SYSTEM/controlSet002/service/eventlog/application/mysql
SYSTEM/CURRENTCONTROLSET/SERVICE/EVENTLOG/application/mysq l