-
输入命令
Install plugin connection_control soname "connection_control.dll";
安装connection_control插件 -
输入命令
show plugins;
查看插件是否安装成功 -
卸载:
mysql> uninstall plugin CONNECTION_CONTROL;
-
查看相关配置,进行调整
连续失败次数3和超过失败连接上限后的最小延迟登录时间为1分; mysql> show variables like "%connection_control%"; mysql> set global connection_control_failed_connections_threshold=30; mysql> set global connection_control_min_connection_delay=600000;
MYSQL会话控制限制登录次数(connection_control插件)
最新推荐文章于 2024-06-10 15:26:08 发布