之前操作环境 centos6.8 上安装 mysql5.5max_connections = 15000
现在操作环境 centos7.6 上安装 mysql8.0max_connections = 15000
连接数无法达到 15000 了是什么原因呢?
收起
添加LimitNOFILE=65535至mysql服务文件mysqld.service中的[Service]段下面
echo "LimitNOFILE = 65535" >> /usr/lib/systemd/system/mysqld.service systemctl daemon-reload vim /etc/my.cnf // 添加max_connections = 期望值 systemctl restart mysqld
报告相同问题?