Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
What file do I modify to increase my MYSQL max connections?
My db is giving a “too many connections” error so I need to increase the max number of connections. What (and what path) is the file that I need to modify?
I have searched the topics and submitted a support ticket… but nothing.
This is an excerpt of my error log:
2019/12/13 20:13:02 [error] [exception.CDbException] SQLSTATE[HY000]  MySQL server has gone away
2019/12/13 20:13:02 [error] [application] CDbConnection failed to open the DB connection.
2019/12/13 20:13:02 [error] [exception.CDbException] SQLSTATE[HY000]  Too many connections
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×