mysql 连接失败问题汇集

FHost '192.168.5.128' is not allowed to connect to this MySQL serverConnection closed by foreign host.
解决办法
USE mysql;CREATE USER 'root'@'%' IDENTIFIED BY '密码';GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';FLUSH PRIVILEGES;

参考:

  https://www.v2ex.com/t/297730

posted @ 2017-11-17 09:29  破冰Lab-Cookun  阅读(333)  评论(0编辑  收藏  举报