show status like 'Threads%'; 查看连接使用状况,已连接以及使用中等
SHOW VARIABLES LIKE '%max_connections%'; 查看连接最大数
show full PROCESSLIST 查看当前连接详情
set GLOBAL max_connections=1000; 设置连接最大数
mysql连接最大数基本操作命令
最新推荐文章于 2021-02-12 07:08:10 发布