- 啓動node服務端端
throw err; // Rethrow non-MySQL errors
^
Error: ER_HOST_IS_BLOCKED: Host '188.131.xx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
是因爲 同一個ip在短時間內產生太多中斷的數據庫連接而導致的阻塞,超過mysql數據庫max_connection_errors的最大值
解決方案:
- 查看mysql安裝目錄 whereis mysql
- 進入mysql控制檯 mysql -uroot -p
- 執行:flush hosts;
完畢!!!