数据库
首页 > 数据库> > BUG库(MySql)Can't connect to MYSQL server on ''(10060)

BUG库(MySql)Can't connect to MYSQL server on ''(10060)

作者:互联网

一.场景

环境:centos7 mysql源 http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm 

1.Mysql安装好后 linux服务器端操作正常,但使用Navicat链接报错

Can't connect to MYSQL server on ''(10060)

二.问题排查

1.开放端口

[root@localhost ~]# firewall-cmd --permanent --zone=public --add-port=3306/tcp

[root@localhost ~]# firewall-cmd --reload

2.再链接正常

标签:10060,firewall,MySql,server,MYSQL,connect,mysql,localhost
来源: https://blog.csdn.net/qq827245563/article/details/88075781