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端口,換個已映射的端口(因爲這個崩潰了一上午)