当前位置: 代码迷 >> 综合 >> is blocked beacuse of many connection errors; unblock with 'mysqladmin flush-hosts'
  详细解决方案

is blocked beacuse of many connection errors; unblock with 'mysqladmin flush-hosts'

热度:77   发布时间:2023-12-08 11:14:28.0

mysql会有too many connections的问题,有时候明明connection允许连接很多了,但还是会有

is blocked beacuse of many connection errors; unblock with 'mysqladmin flush-hosts'这样的错误。很多时候不是连接数量限制的问题,而是需要把连接计数清零。

在mysql中运行:

flush hosts;

然后就可以了。

  相关解决方案