Increase MySQL connection limit

Update limit

vim /etc/my.cnf
[mysqld]
max_connections = 250
/etc/init.d/mysqld restart

mysql
set global max_connections = 250;

Check limit

mysql
show variables like “max_connections”;