1.grant all privileges on *.* to root@'%' identified by "mypass" with grant option;
2.use mysql;
select host,user,password from user; //出现你刚才的设置
3.bind-address=0.0.0.0 注释掉。。
4.有可能被封,vim /etc/my.cnf ... vim /etc/mysql/my.cnf 更改端口
5.路由器映射表没有3306端口,换个已映射的端口(因为这个崩溃了一上午)