加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

mysql出现unblock with 'mysqladmin flush-hosts'

发布时间:2020-12-12 02:20:15 所属栏目:MySql教程 来源:网络整理
导读:错误信息: unblock with ' mysqladmin flush-hosts ' 这个错误导致我无法远程连接MySQL(使用navicat或sqlyog等mysql客户端工具) 解决办法: 修改max_connect_errors的值 ( 1 )进入Mysql数据库查看max_connect_errors: show variables like %max_connect_erro

错误信息:

unblock with 'mysqladmin flush-hosts'

这个错误导致我无法远程连接MySQL(使用navicat或sqlyog等mysql客户端工具)

解决办法:
修改max_connect_errors的值

(1)进入Mysql数据库查看max_connect_errors:
> show variables like %max_connect_errors%';
(2)修改max_connect_errors的值:
> set global max_connect_errors = 1003)查看是否修改成功
> show variables like ';

参考资料:
mysql出现unblock with ‘mysqladmin flush-hosts’

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读