Too many connections - Error - MariaDB/MySQL

Created by Tyler Smith, Modified on Mon, 14 Jul at 3:16 PM by Tyler Smith

Edit MariaDB/MySQL configuration file (my.cnf) and either modify or add the following lines:


max_connections = 1024


Once updated, restart the MySQL server and confirm the max connections value has been updated by running the following query:


SHOW VARIABLES LIKE 'max_connections';

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article