Linux开放mysql权限给任意主机远程登录

1、开放3306端口 一、vim /etc/sysconfig/iptablesmysql 二、重启防火墙sql service iptables restartvim 三、查看3306端口是否开启服务器 service iptables statuside 2、受权远程链接 grant all privileges on *.* to 'xxxx'@'%'identified by 'xxxx'
相关文章
相关标签/搜索