【发布时间】:2021-08-04 10:55:42
【问题描述】:
我在从我的虚拟服务器执行任何查询时遇到了这个问题。我正在使用 aws rds 并能够通过 mysql 工作台进行连接,也能够执行查询,但它在 python 脚本中不起作用。
OperationalError: (pymysql.err.OperationalError) (1129, "IP' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'")
当我运行这个命令 mysqladmin flush-hosts 时,它显示错误并且没有命令。
【问题讨论】: