Home > Database > Mysql Tutorial > body text

Navicat连接本地Mysql出现10061错误,但链接远程没有问题的解决方_MySQL

WBOY
Release: 2016-06-01 13:38:52
Original
1470 people have browsed it

Navicat

bitsCN.com

 

前段时间,Navicat突然连接不了本地MySql,老弹出“2003-Can’t connect to MySQL on ’192.168.90.165’(10061)”错误。找了下,没有找到解决方法。今天刚好有空,又跑去找度娘,终于解决了!

 

Navicat连接本地Mysql出现10061错误,但链接远程没有问题,可能是本地服务有问题 在服务里面找到了wampmysqld服务,并且已经启动,可就是连接不上。很奇怪!

 

在网站上搜索到的相关解决方案:

 

1在服务端MySQL文件夹下找到my.ini文件。
修改bind-address=127.0.0.1 为 bind-address=0.0.0.0
如在MySQL 5的my.ini中未发现此项,可在[mysqld]这一节中添加上这一行:bind-address = 0.0.0.0
2 重新启动MySQL服务,连接成功

 

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template