最大连接数
show variables like "max_connections";
当前连接数
SELECT
*
FROM
information_schema.PROCESSLIST
WHERE
DB = 'jdsq-dev'
show variables like "max_connections";
SELECT
*
FROM
information_schema.PROCESSLIST
WHERE
DB = 'jdsq-dev'