日期:2014-05-16  浏览次数:20650 次

MySQL操作点滴记录

  • 修改MySQL的最大连接数:

show variables like '%max_connections%';

set GLOBAL max_connections=800;

flush privileges

也可以修改/etc/my.cnf中的max_connections:

max_connections = 1000