linux下mysql容许远程链接

1.查看linux防火墙是否开放3306端口 执行iptables -nL --line-number 这里显示DROP表明防火墙阻止了3306端口。mysql 2.添加防火墙例外 执行vim /etc/sysconfig/iptables linux 3.重启防火墙 执行service iptables restart 查看是否变为ACCEPTweb 4.建立远程链接用户并受权 mysql> s
相关文章
相关标签/搜索