mysql>show variables like 'max_connections';(查可以看当前的最大连接数)msyql>set global max_connections=1000;(设置最大连接数为1000,可以再次查看是否设置成功)