错误2003(HY000):无法连接到本地主机上的MySQL服务器(10061) [英] ERROR 2003 (HY000): Can't connect to MySQL server on localhost (10061)

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

问题描述

我使用noinstall Zip存档在Microsoft Windows 8上安装了MySQL.但是,当我通过在Windows提示符下执行以下命令进行测试时,出现了上述错误.

I installed MySQL on Microsoft Windows 8 Using a noinstall Zip Archive. But when i tested by executing the following commands on windows prompt, the above error showed up.

C:\> "C:\MySQL\bin\mysqlshow" 

C:\> "C:\MySQL\bin\mysql" test

请帮助我.

推荐答案

您无需重新启动Windows.

You don't need to restart your windows. The easiest way to achieve this is

  1. 转到/bin/
  2. 运行mysqld(服务)
  3. 关闭cmd提示
  4. 运行mysql.exe或更好的方法是将位置添加到PATH环境变量中

谢谢

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

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