linux mysql远程链接

 

 mysql配置mysql

//mysql用户受权 grant all privileges on *.* to 'root'@'%' identified by 'zf0106'; flush privileges;

 

 重启myqllinux

 

阿里云等服务器安全组是否开启3306端口sql

 

查看linux防火墙是否开放3306端口vim

iptables -nL --line-number安全

修改防火墙配置文件服务器

vim /etc/sysconfig/iptables  ide

重启防火墙测试

service iptables restart 阿里云

 

最后,测试本地链接spa

相关文章
相关标签/搜索