mysql查看及设置最大连接数 #查看: show variables like '%max_connections%'; #设置: set GLOBAL max_connections = 1000;