当前位置:网站首页>MySQL error: unblock with mysqladmin flush hosts
MySQL error: unblock with mysqladmin flush hosts
2022-07-02 09:21:00 【Protect our fat tiger】
Information troubleshooting :
# Check the maximum number of wrong connections
show global variables like 'max_connect_errors';
# View connections IP
select * from performance_schema.host_cache
# Refresh database IP cache
flush hosts
# View connections
SELECT substring_index(host, ':',1) AS host_name, state, count(*) FROM information_schema.processlist GROUP BY state, host_name;
Fundamental way :
According to the findings IP The troubleshooting is deployed in this Ip Service database connection configuration on the server , The reason for this is the database connection configuration error
ex: The database account password is incorrect ,ssl Not closed, etc ......)
Correct modification can solve
Shielding method :
solve : Access to database Use admin Permission account
1、 Put the variable max_connection_errors Set the value of to a larger value
set global max_connect_errors=1500;
2、 Execute the command using flush hosts
3、 Changing the value of the system variable makes MySQL The server does not record host cache Information ( Don't suggest ) Such as :set global host_cache_size=0;
边栏推荐
- During MySQL installation, mysqld Exe reports that the application cannot start normally (0xc000007b)`
- 【Go实战基础】如何安装和使用 gin
- Dix ans d'expérience dans le développement de programmeurs vous disent quelles compétences de base vous manquez encore?
- [go practical basis] how to set the route in gin
- Shengshihaotong and Guoao (Shenzhen) new energy Co., Ltd. build the charging pile industry chain
- 数构(C语言)——第四章、矩阵的压缩存储(下)
- Gocv boundary fill
- Leetcode sword finger offer brush questions - day 23
- Troubleshooting and handling of an online problem caused by redis zadd
- Jingdong senior engineer has developed for ten years and compiled "core technology of 100 million traffic website architecture"
猜你喜欢

远程连接IBM MQ报错AMQ4036解决方法

Break the cocoon | one article explains what is the real cloud primordial

西瓜书--第六章.支持向量机(SVM)

Knowledge points are very detailed (code is annotated) number structure (C language) -- Chapter 3, stack and queue

What is the future value of fluorite mine of karaqin Xinbao Mining Co., Ltd. under zhongang mining?

Programmers with ten years of development experience tell you, what core competitiveness do you lack?

A detailed explanation takes you to reproduce the statistical learning method again -- Chapter 2, perceptron model

「Redis源码系列」关于源码阅读的学习与思考

概率还不会的快看过来《统计学习方法》——第四章、朴素贝叶斯法

From concept to method, the statistical learning method -- Chapter 3, k-nearest neighbor method
随机推荐
Matplotlib swordsman Tour - an artist tutorial to accommodate all rivers
Jingdong senior engineer has developed for ten years and compiled "core technology of 100 million traffic website architecture"
Amq6126 problem solving ideas
Microservice practice | fuse hytrix initial experience
Data type case of machine learning -- using data to distinguish men and women based on Naive Bayesian method
[staff] time sign and note duration (full note | half note | quarter note | eighth note | sixteenth note | thirty second note)
C4D quick start tutorial - C4d mapping
2022/2/14 summary
Chrome用户脚本管理器-Tampermonkey 油猴
别找了,Chrome浏览器必装插件都在这了
Dix ans d'expérience dans le développement de programmeurs vous disent quelles compétences de base vous manquez encore?
Gocv image cutting and display
Matplotlib剑客行——没有工具用代码也能画图的造型师
Leetcode sword finger offer brush questions - day 23
Cloudrev self built cloud disk practice, I said that no one can limit my capacity and speed
【Go实战基础】gin 如何自定义和使用一个中间件
Matplotlib剑客行——初相识Matplotlib
Solution to amq4036 error in remote connection to IBM MQ
【Go实战基础】如何安装和使用 gin
Machine learning practice: is Mermaid a love movie or an action movie? KNN announces the answer