显示数据库连接:show full processlist

显示最大连接数:show variables like 'max_connections';

修改配置文件:/etc/my.cnf     修改最大连接数:[mysqld] 下面添加 max_connections=1024

查看状态 :service mysql status  重启:service mysql restart

 

相关文章: