MySQL max_connections 总是 214 。不能设大了?
centos7 mariadb 修改 max_connections 总是214
It was indeed limits set by the OS. Resolved it with :
Edit file /usr/lib/systemd/system/mysqld.service
Add at end:
LimitNOFILE=65535
LimitNPROC=65535
$ systemctl daemon-reload
$ systemctl restart mysqld.service
MySQL max_connections 总是 214 。不能设大了? max_connections = 214
原文:http://www.cnblogs.com/ruiy/p/5407277.html