Mysql常见问题
2016-04-25 10:37
447 查看
1、MySql
Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 解决方法
执行命令:mysqladmin -uroot -p*** flush-hosts
(不知道mysqladmin在哪个目录下可以使用命令查找:whereis
mysqladmin)
2、提高允许的max_connection_errors数量(治标不治本):
① 进入Mysql数据库查看max_connection_errors: show variables like '%max_connection_errors%';
② 修改max_connection_errors的数量为1000: set global max_connect_errors = 1000;
③ 查看是否修改成功:show variables like '%max_connection_errors%';
Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 解决方法
执行命令:mysqladmin -uroot -p*** flush-hosts
(不知道mysqladmin在哪个目录下可以使用命令查找:whereis
mysqladmin)
2、提高允许的max_connection_errors数量(治标不治本):
① 进入Mysql数据库查看max_connection_errors: show variables like '%max_connection_errors%';
② 修改max_connection_errors的数量为1000: set global max_connect_errors = 1000;
③ 查看是否修改成功:show variables like '%max_connection_errors%';
相关文章推荐
- MySql以及navicat for mysql的安装
- mysql日志清理
- MyBatis+MySQL数据库操作小技巧
- mysql复习
- MYSQL查询一段时间
- mysql56编码方式设置
- MySQL(五) —— 子查询
- 如何彻底卸载MySQL
- mysql一些实用的语句
- mysql查询语句in和exists二者的区别和性能影响
- MySQL输入密码后闪退,这里有解
- MySQL输入密码后闪退,这里有解
- mysql配置文件my.cnf详解 ( 主要参数)
- MySqlHelper、CacheHelper
- 查询MYSQL和查询HBASE速度比较
- 1-MySQL数据库简介
- mysql索引总结----mysql 索引类型以及创建
- Mac 安装MySQL到移动硬盘
- mysql主从同步
- MySQL开发