当前位置:网站首页>message from server: “Host ‘xxxxxx‘ is blocked because of many connection errors; unblock with ‘m
message from server: “Host ‘xxxxxx‘ is blocked because of many connection errors; unblock with ‘m
2022-06-29 15:10:00 【Focus on writing bugs】
List of articles
Problem description
Caused by: com.mysql.cj.exceptions.CJException: null,
message from server: "Host 'xxx.xxx.xxx.xxx' is blocked
because of many connection errors;
unblock with 'mysqladmin flush-hosts'"
Problem analysis
An error message indicates a phenomenon :
Messages from the server :“ host ‘xxxx’ Blocked due to many connection errors ;
Use ‘mysqladmin flush hosts’ Unblock ”.
The reason why I have this problem here :
Connection access is not set MySQL Database account and password information , After starting the project , Keep reconnecting , Lead to MySQL Blocked due to multiple connection errors .
According to the description in the error message , Use flush hosts Conduct Block release .
Problem solving
- 1、 If there is no connection account and password information , Create accounts and passwords .
create user test_user@'%' identified by '[email protected]'; grant all privileges on test.* to test_user@'%' with grant option; flush privileges; - 2、 Log in to the database
mysql -u xxxx -p If it's a remote connection , Then take the following command mysql -hXXXX -u xxxx -p - 3、 After logging in , stay mysql In the implementation of
flush hosts. - 4、 Restart project , Observe the project startup log information .
边栏推荐
- 在平面坐标上画斜线
- Konva series Tutorial 4: drawing attributes
- Solidworks零件图存放位置更改后装配图识别不出来的解决办法
- 使用自定义注解实现Redis分布式锁
- bash汇总线上日志
- Netease strict selection offline data warehouse quality construction practice
- 高并发软件(网站,服务器端接口)的评价指标
- Lumiprobe reactive dye - amino dye: cyanine 5 amine
- CKS CKA CKAD 将终端更改为远程桌面
- SOFARegistry 源码|数据同步模块解析
猜你喜欢

网易严选离线数仓质量建设实践

ModStartBlog 现代化个人博客系统 v5.2.0 主题开发增强,新增联系方式

Secondary pointer

Whitelabel error page access

Solidworks零件图存放位置更改后装配图识别不出来的解决办法

EMC surge protection and decoupling design

Analysis of constant current source circuit composed of two NPN tubes

知识点:PCB线路板布线都有哪些诀窍?

【牛客网刷题系列 之 Verilog快速入门】~ 移位运算与乘法

关于项目采购管理,这些你需要知道
随机推荐
You need to know about project procurement management
Lumiprobe reactive dye - amino dye: cyanine 5 amine
Weigao blood purification sprint to Hong Kong: annual revenue of RMB 2.9 billion, net profit decreased by 12.7%
Explanation on deployment and establishment of decentraland process
MCS:离散随机变量——几何分布
Lumiprobe reactive dye cycloalkyne dye: af488 dbco, 5 isomer
Lumiprobe 脱氧核糖核酸丨炔烃dT亚磷酰胺
Query function of Excel vlookup
使用自定义注解实现Redis分布式锁
The first lesson on cloud - how easy is it to build a small broken station? The old driver of cloud computing will take you one hour to finish it
两个字的名字如何变成有空格的3个字符的名字
message from server: “Host ‘xxxxxx‘ is blocked because of many connection errors; unblock with ‘m
kubernetes Unable to connect to the server: x509: certificate has expired or is not yet valid
EMC surge protection and decoupling design
What should phpcms do when it sends an upgrade request to the official website when it opens the background home page?
高並發軟件(網站,服務器端接口)的評價指標
Is it safe to open a stock account at present? Can I open an account online directly
EMC-浪涌防护及退耦设计
信息学奥赛一本通2061:梯形面积
Uniapp problem list and experience