message from server: "Host '192.168.76.89' is not allowed to connect to this MySQL server
发布日期:2021-11-15 02:11:45 浏览次数:1 分类:技术文章

本文共 250 字,大约阅读时间需要 1 分钟。

连接mysql时报:message from server: "Host ‘192.168.10.1’ is not allowed to connect to this MySQL server

处理方案:

  1. use mysql;

2.select host from user where user = ‘root’; 发现,host的值就是localhost。

3.update user set host=’%’ where user = ‘root’;

4.flush privileges;

转载地址:https://blog.csdn.net/qq_28358461/article/details/90282989 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:部署企业内部NTP时间服务器
下一篇:Mapreduce统计hdfs文档单词分组总数并落地到关系型数据库

发表评论

最新留言

初次前来,多多关照!
[***.217.46.12]2024年04月19日 10时36分25秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章