首页 > 代码库 > mysql too many connection 解决办法

mysql too many connection 解决办法

 

 

 

SHOW VARIABLES LIKE "max_connections";

SHOW VARIABLES LIKE "wait_timeout";

SET GLOBAL max_connections = 5000;

SELECT @@MAX_CONNECTIONS AS ‘Max Connections‘;

SHOW FULL PROCESSLIST;

SHOW PROCESSLIST;

 

mysql too many connection 解决办法