当前位置:Gxlcms > mysql > mysql开启远程连接(mysql开启远程访问)_MySQL
mysql开启远程连接(mysql开启远程访问)_MySQL
时间:2021-07-01 10:21:17帮助过:9人阅读
bitsCN.com
//建议设置固定IP mysql> GRANT ALL PRIVILEGES ON *.* TO root@"8.8.8.8" IDENTIFIED BY "root"; mysql> flush privileges; //修改防火墙 iptables -I INPUT -p tcp --dport 3306 -j ACCEPT