ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.123' (10061)

错误:ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.123' (10061)

 

我在linux上安装了mysql,远程使用windows连接,结果提示:ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.123' (10061),找到这一句: bind-address = 127.0.0.1 ,将其注释掉,然后sudo service mysql restart 重启动。可以连接了!

 

你可能感兴趣的:(ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.123' (10061))