Friday, 17 February 2017

mysql-too-many-connectionsq-error-in-vicidial-server


Step1

First check the maximum connections allowed.

Step2

Go to Mysql prompt and type the below command:
mysql > show variables like “max_connections”;



You should get following result:

+—————–+——-+

| Variable_name   | Value |

+—————–+——-+

| max_connections | 100   |

+—————–+——-+

Step3

You can change the limit to higher value just by the below command without restarting the mysql ,but this will temporary until next reboot or restart of mysql server.
set global max_connections = 300;



For permanent effect:

Go to the /etc/my.cnf file and add the below lines and restart the mysql service.

max_connections = 200


Dwibendu Moharana | www.interbitsolutions.com | Mohali | India | 
Contact :+91-8147023033| USA- +1-631-686-8462 | Skype - muntycse


No comments:

Post a Comment