mysql(mariadb)

显示数据库连接:show full processlist

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

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

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

 

posted @ 2021-09-23 11:55  学亮  阅读(96)  评论(0编辑  收藏  举报