请不要将此问题重复发布。我现在正在尝试配置 mysql 大约 3 周。应该有人真正帮助我。
我最近在一台联想笔记本电脑上安装了 MySQL 5.1 来完成我的项目。该笔记本电脑运行的是 Windows 8。 安装很好,但是当我尝试配置 MySQL 时,它一直工作到最后一页。
出现错误 Nr 2003。
我通过命令提示符、控制面板中的服务进行了尝试。但问题是mysql服务根本没有启动。为什么它没有启动?什么会阻止它启动?
最佳答案
First you need to start mysql service it is the problem for this above error.
In case you cant start mysql service means you need to install mysql service.
安装mysql服务步骤
Step 1: open command prompt and go to the mysql installed location (for example c:\Program Fiels\MYSQL\Mysql Server5.0\bin\)
Step 2: mysql --install
Step 3: start mysql service using the command NET START MYSQL command
然后使用用户名和密码连接mysql。
关于mysql - 错误 2003 (HY000) : Can't connect to MySQL server on 'localhost' (10061),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22318201/