原文:message from server: "Host '*.*.*.*' is blocked because of many connection errors

https: blog.csdn.net sakuragio article details ...

2021-01-21 20:40 0 1082 推薦指數:

查看詳情

怎么解決 ? null, message from server: "Host '***.***.***.***' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

引起 : 測試環境和生產環境共同使用同一個數據庫 , 測試使用的是遠程,生產使用的是localhost 粗略分析: 1、 同一個ip在短時間內產生太多中斷的數據庫連接而導致的阻塞 2、超過了mysql數據庫max_connection_errors的最大值 解決方法 直接 flush ...

Fri Oct 29 00:15:00 CST 2021 0 1759
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM