Navicat for Mysql 出现2003 - can't connect to MySQL server on 'localhost' 10083解决

1.iptables -F

2.vim /etc/selinux/config   修改  SELINUX=disabled 

3.systemctl stop firewalld.service

关闭防火墙和SELinux,防止系统干扰导致部署不成功

[root@localhost ~]# setenforce 0

[root@localhost ~]# iptables -F

[root@localhost ~]# iptables -X

猜你喜欢

转载自blog.csdn.net/weixin_35688029/article/details/82630891