标签:执行 root SQ flush host mysql ges 远程登录 update
MySQL不允许远程登录,所以远程登录失败了,解决方法如下:
use mysql;
update user set host = ‘%‘ where user = ‘root‘;
这一句执行完可能会报错,不用管它。执行FLUSH PRIVILEGES;
标签:执行 root SQ flush host mysql ges 远程登录 update
原文地址:https://www.cnblogs.com/bronze-y/p/9059236.html