SQLyog连接数据库出现1130错误

修改root的连接限制,host=’%'为允许所有IP都有连接权限

# mysql -u root -p
Enter password:
mysql> use mysql;
mysql> select host from user where user='root';
mysql>update user set host='%' where user='root';
mysql>flush privileges;

猜你喜欢

转载自blog.csdn.net/qq_40572277/article/details/85993760