Linux-Mysql的外网连接
1. 在Linux的Mysql下执行赋权限操作
grant all privileges on *.* to [email protected]'%' identified by '123456';
2. 刷新Mysql
flush privileges;
grant all privileges on *.* to [email protected]'%' identified by '123456';
flush privileges;