最大連接數(shù)
show variables like "max_connections";
當前連接數(shù)
SELECT
*
FROM
information_schema.PROCESSLIST
WHERE
DB = 'jdsq-dev'
show variables like "max_connections";
SELECT
*
FROM
information_schema.PROCESSLIST
WHERE
DB = 'jdsq-dev'