沉睡个人博客
沉睡个人博客
博客
工具箱
留言板
沉睡个人博客
博客
工具箱
首页
数据库
linux 远程链接数据库报错host *** is not allowed to connect to this mysql server
linux 远程链接数据库报错host *** is not allowed to connect to this mysql server
2,616人已阅读
时间:2022-03-19 00:00:00
mysql -uroot -p 然后输入数据密码 use mysql; select host, user from user; 将相应用户数据表中的host字段改成'%'; update user set host='%' where user='root'; <span style="color:red">ERROR 1062 (23000): Duplicate entry '%-root' for key 'PRIMARY' 不予理会</span> flush privileges; 重新远程连接OK
上一篇:【jquery】判断选择框选中
下一篇:linux 系统忘记数据库root密码