设置 Mysql

set GLOBAL max_connections=1024;
set GLOBAL mysqlx_max_connections=1024;

set GLOBAL max_connect_errors = 1024;
show variables like '%max_connections%';
show variables like '%max_connect_errors%';

原文地址:https://www.cnblogs.com/lhlong/p/15026516.html