Caused by: java.sql.SQLException: null, message from server: "Host '113.69.27.170' is blocked because of many connection errors; unblock with 'mariadb-admin flush-hosts'"
原因:
突然请求了太多sql请求。
同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的数据库连接而导致的阻塞;
解决办法:
进入maridb command
输入命令:命令如下:flush hosts;
最新评论 0