环境:Navicat for Mysql 8.2 + MySQL Sever 5.1
问题:通过MySQL命令行能连接,但是通过Navicat for Mysql 8.2却连不上,出现如下错误:
2003 - can's connect to MySQL server on 'localhost' 10061
解决:
删除安装目录下的 my.ini ,然后打开 / MySQL Server / MySQL Server Instance Config Wizard(XX :\Program files\MySQL Server 5.1\bin\MySQLInstanceConfig.exe ) ,重新配置。
Navicat for Mysql 2003 - can's connect to MySQL server on 'localhost' 10061解决