Linux mysql授权远程连接

解决办法总结: 1、确定远程机器的防火墙关闭,或在防火墙允许3306端口号(服务器) 2、确定数据库允许远程访问(本地) 3、通过语句grant all privileges on *.* to 'root'@'%' identified by '123456'。 一  在防火墙允许3306端口: 1 进入iptables. 2 在22端口上面加:-A RH-Firewall-1-INPUT -m
相关文章
相关标签/搜索