Question

max_user_connection in my website

Hi,

Im new here in digital ocean. i made a website here and connect to the database. but the problem is from time to time an error message prompt… says that…

User ****** already has more than ‘max_user_connections’ active connections.

i’ve search in the net but I can’t change the configuration given in the phpmyadmin. many features are have been disable. how can i fix this.

thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You can modify max_user_connections in your /etc/my.cnf file on your server; once you raise the limit, just restart MySQL, and you should be good to go. You can verify the new limit using a query like:

SHOW VARIABLES LIKE 'max_user_connections';

to confirm it was updated properly.