- 启动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;
完毕!!!