mysql realiteFile


查看和修改 MySQL数据库的最大连接数

1、查看最大连接数:

show variables like '%max_connections%';

2、修改最大连接数

永久, 打开MySQL配置文件 my.ini 或 my.cnf,查找

max_connections=100

临时,命令行修改

MySQL> set global max_connections=100

myPictureTest

并行
并发


Author: datefate
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source datefate !
  TOC
-->