錯(cuò)誤
java.sql.SQLException: null,? message from server: "Host '43.136.xx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
解決
1.服務(wù)器上進(jìn)入mysql
mysql -uroot -p
2.輸入mysql的密碼
寶塔獲取方式
3.設(shè)置大一點(diǎn)的連接數(shù)
set global?max_connect_errors=1000;
4.查看設(shè)置結(jié)果
show global variables like '%max_connect_errors%';
結(jié)果: