文章目录 场景命令 场景 生产环境mysql连接数超过最大值,无法链接 命令 查看设置最大连接数 show variables like ‘%max_connections%’ 查看当前连接数 show status like ‘Threads%’;