Centos7设置MySQL最大连接数
-
mysql> show variables like '%max_connections%'; #查看最大连接数
- 修改最大连接数
mysql> set GLOBAL max_connections = 600;
-
vi /etc/my.cnf
chmod 644 /etc/my.cnf
- 重启mysql
service mysqld restart
- 修改成功
本文来自博客园,作者:手可摘星辰/*,转载请注明原文链接:https://www.cnblogs.com/u-damowang1/p/17014894.html