mysql>show variables like 'max_connections';(查能夠看當前的最大鏈接數) msyql>set global max_connections=1000;(設置最大鏈接數爲1000,能夠再次查看是否設置成功)mysql