+---+---+ | VARIABLE_NAME | VARIABLE_VALUE | +---+---+ | extra_max_connections | 1 | | max_connect_errors | 100 | | max_connections | 600 | +---+---+ 3 rows in set (0.00 sec) Reference: 1.https://www.digitalocean.com/community/questions/max_connections-will-not-change...
max_connect_errors = 6000 # 对于同一主机,如果有超出该参数值个数的中断错误连接,则该主机将被禁止连接。如需对该主机进行解禁,执行:FLUSH HOST。 open_files_limit = 65535 # MySQL打开的文件描述符限制,默认最小1024;当open_files_limit没有被配置的时候,比较max_connections*5和ulimit -n的值,哪个大用哪...