您好,欢迎访问一九零五行业门户网

mysql的一个拒绝访问错误的解决_MySQL

bitscn.com 最近有几个人问我相同问题,安装了mysql,然后用 telnet ip 3306,端口后报
host 192.168.1.163 is not allowed to connect to this mysql serverconnection closed by foreign ,虽然自己以前也碰到过,后来解决了,但是觉得还是值得贴出来,估计会有很多人同样碰到过,
解决办法:
mysql>update mysql.user set host=% where host=localhost;
mysql>grant all privileges on *.* to root@% ;
mysql>flush privileges;
bitscn.com
其它类似信息

推荐信息