性能测试MySQL中报: Too many connections 1.1查看mysql的最大连接数 mysql的最大连接数: show variables like ‘%max_connections%’; 1.2查看当前连接数 show global status like ‘Max_used_connections’; 1.3设置MySQL最大连接数值 将最大连接数设为500 set GLOBAL max_connections=500; 再执行查看最大连接数命令,验证设置结果。