navicat連接centos7上mysql:2003-Can't connect to MySQL server (10060)


問題解決步驟:

1、參考http://jingyan.baidu.com/article/95c9d20dac9040ec4f75617a.html,發現是防火牆未關閉;

2、關閉並禁止firewall開機啟動:

   停止:

systemctl stop firewalld.service

 

   禁止開機啟動:

systemctl disable firewalld.service

 

    


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM