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