阿里雲centos7服務器部署mysql後遠程沒法鏈接

1.首先查看防火牆狀態:  firewall-cmd --state  顯示  not runing  ,因此先開啓防火牆:systemctl  start firewalldhtml 2.查看防火牆開放的端口:  firewall-cmd --zone=public --list-ports    顯示爲空mysql 3.添加mysql端口,登陸mysql後經過show variables li
相關文章
相關標籤/搜索