故障现象:
#mysql -uuser -ppasswd
ERROR 1040 (08004): Too many connections
解决办法1:
#mysql -uroot -ppasswd
mysql> show variables;
| max_connections | 100
mysql> set GLOBAL max_connections=1500;
解决办法2:
#vi /etc/my.cnf
[mysqld]
………………
set-variable=max_connections=1500
[mysqld_safe]