目录
- 前言
- 1. 2003 - Can't connect to MySQL server on 'localhost' (10061)
- 2. ERROR 1045 (28000) : Access denied for user root' @' localhostusing password: NO)
- 3. ERROR 1045 (28000) : Access denied for user root' @' localhostusing password: YES)
- 4. 重装mysql时3306端口被占用解决方法
- 5. navicat:2013-Lost connection to MySQL server at ‘reading initial communication packet解决方法
前言
以下总结博主经常遇到的mysql启动问题
如果还有其他问题可在下方列表进行补充
1. 2003 - Can’t connect to MySQL server on ‘localhost’ (10061)
当出现这个的时候
2003 - Can’t connect to MySQL server on ‘localhost’ (10061)
1.重新启动mysql
可以在cmd命令行中输入net start mysql
或者是在计算机管理中重新启动服务
具体启动需要看服务中具体mysql的名字
比如博主是mysql57的名字
2.在输入mysql -u root -p
查看是否可以成功