win10 MySQL安装connection_control并配置
1、在navicat里面执行下面sql安装插件
Install plugin connection_control soname "connection_control.dll"
2、在my.ini配置文件[mysqld]加下面配置
#失败次数
connection_control_failed-connections_threshold=3
#锁定时间,单位毫秒
connection_control_min_connection_delay=6000
3、重启MySQL
4、 执行下面的sql查看
show variables like "%connection_control%";