[Linux]MySQL遠程登陸

在開始遠程鏈接數據庫以前,須要將虛擬機中的防火牆3306的端口打開,並從新啓動服務 打開防火牆中3306的端口 -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT 防火牆文件地址:/etc/sysconfig/iptables 重啓防火牆服務: systemctl start iptableshtml 遠程連接數據庫 若是沒法登陸,有兩種狀況: 1.若是你是
相關文章
相關標籤/搜索