Can''t connect to MySQL server的解决办法
程序员文章站
2022-04-04 11:25:58
...
ERROR 2003 (HY000): Can't connect to MySQL server on '*.*.*.*' (113)的解决办法
1.查看配置文件:skip-networking #注释掉 因为它是屏蔽掉一切TCP/IP连接
bind-address = 127.0.0.1 #它和上一个选项是异曲同工,要想远程连接,也得注释掉
2.如果以上工作都做过还是出现:
ERROR 2003 (HY000): Can't connect to MySQL server on '*.*.*.*' (113),那就得考虑防火墙的问题了,关掉防火墙/etc/rc.d/init.d/iptables stop
修改完后需要 restart mysql (/etc/init.d/mysql restart)
推荐阅读
-
mysql 一个较特殊的问题:You can't specify target table 'wms_cabinet_form'
-
Can't connect to MySQL server的解决办法
-
mysql中错误:1093-You can’t specify target table for update in FROM clause的解决方法
-
Linux登录MySQL时出现 Can't connect to local MySQL server through socket '/tmp/mysql.sock'解决方法
-
解决MYSQL出现Can''t create/write to file ''#sql_5c0_0.MYD''的问题
-
解决MYSQL出现Can''t create/write to file ''#sql_5c0_0.MYD''的问题
-
连接Mysql提示Can’t connect to local MySQL server through socket的解决方法
-
安装mysql-8.0.19-winx64遇到的问题:Can't create directory 'xxxx\Database\'
-
解决MYSQL出现Can''t create/write to file ''#sql_5c0_0.MYD''的问题
-
MYSQL ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.10.210' (111) 解决方法