无法连接到'127.0.0.1'上的MySQL服务器(10061)(2003) [英] Can't connect to MySQL server on '127.0.0.1' (10061) (2003)

查看:1524
本文介绍了无法连接到'127.0.0.1'上的MySQL服务器(10061)(2003)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题很多以前被问过,但我尝试了一些给出的解决方案,没有什么工作。

I know this question was asked a lot before but I tried some of the solutions which were given and nothing worked..

我已经下载 MySQL Workbench 6.1在我的Windows 7 x64 ,现在我想开始和做一个简单的数据库我设置一个新的MySQL连接,并让它作为默认的主机名,端口和用户名,我刚设置连接的名称。在开始它显示在动作输出中,可能不connect.Server可能不运行,并在msg部分它被写不能连接到MySQL服务器'127.0.0.1'(10061 )但我认为我可以做一个数据库并测试它然后我创建了简单的数据库,当我想执行它,我不能按Bolt执行数据库,所以我试图从查询我按下第二个选项是执行(全部或选择)到文本,因为我不能选择任何其他选项,并显示此错误无法连接到MySQL服务器'127.0.0.1 '(10061)(2003)

I have downloaded MySQL Workbench 6.1 on my windows 7 x64 and now as I want to start and do a simple DB I set a new MySQL Connection and let it as default the Hostname, port and the username I just set the name of the connection. In the beginning it was showing down in the action output that Could not connect.Server may not be run and in the msg part it was written Can't connect to MySQL server on '127.0.0.1' (10061) but I thought I would be able to do a DB and test it Then I created simple DB and when I wanted to execute it I couldn't press the Bolt which execute the DB so I tried from Query and I pressed the 2nd option which is "Execute(All or Selection) to text" as I couldn't choose any other option and this error was shown Can't connect to MySQL server on '127.0.0.1' (10061) (2003)

我是新的我已经使用SQL * Plus一段时间,但是不一样。

I am new in this I have used SQL*Plus for a while but it is not the same.

提前感谢。

推荐答案

看起来像mysql服务器未开始。

Looks like the mysql server is not started.

查看官方文档如何在Windows下启动服务。

Look to the official documentation of MySQL how you can start a service under windows.


使用此服务安装服务器命令:C:>C:\Program
Files\MySQL\MySQL Server 5.5\bin\mysqld--install

Install the server as a service using this command: C:> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --install

这篇关于无法连接到'127.0.0.1'上的MySQL服务器(10061)(2003)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆