Page 1 of 1

How to increase simultaneous connections to mySql

Posted: Tue Jan 09, 2018 1:47 pm
by Saman
Edit mySql config file

Code: Select all

vi /etc/my.cnf
Right after [mysqld] add following line,

Code: Select all

max_connections = 5000
Note that 5000 is for example purpose. Default is 150 (or 100) which suits most of the servers. Edit with care.