Linux開放mysql權限給任意主機遠程登陸

一、開放3306端口 1、vim /etc/sysconfig/iptables 2、重啓防火牆 service iptables restart 3、查看3306端口是否開啓 service iptables status 二、授權遠程連接 grant all privileges on *.* to 'xxxx'@'%'identified by 'xxxx' with grant optio
相關文章
相關標籤/搜索