环境:ubuntu16.4
mysql版本5.7.19
2.用户无法通过SSH远程访问
先用root运行mysql -uroot -p,启动mysql
然后再mysql界面下运行grant all privileges on *.* to yszhu@"%" identified by "12345678" with grant option
设置yszhu用户远程访问mysql的权限,密码为12345678