Mysql “Lost connection to MySQL server at ‘reading initial communication packet‘, system error: 0
然后重启mysql:service mysql stop,service mysql start。linux上mysql可以本地访问,在win上面远程访问linux的mysql保存。服务器安全组端口开放,防火墙关闭状态,还是不行。重新设置安全组和防火墙,即可远程访问。进入vi /etc/my.cnf,将端口port改成3306之外的,
原创
2022-12-29 11:04:31 ·
338 阅读 ·
1 评论