Skip to main content

MySQL server access restored.

Comments

4 comments

  • 24x7server
    Hello, I can see you are getting Too many connections error so you need to increase your connection limit value in your my.cnf file to resolve this issues.
    0
  • morteza3245
    if i do not increase connection, server will see down time? and which one i should increase exactly? Thanks.
    0
  • DonaldBennett
    Hello, You can increase the server max_connections limit in /etc/my.cnf So, SSH Into the server And Run The Following Steps: 1. nano /etc/my.cnf 2. On a new line you can type max_connections=250 (Or Whatever your limit maybe 250 is pretty Standard) 3. Save The File holding Ctrl+O And it will Save The File. 4. Restart MySQL Using: service mysql restart 5. Check Connection limit: echo "show variables like 'max_connections';" | mysql Try it out and let me know. :) Thank You.
    0
  • cPanelMichael
    Hello :) You can review your MySQL error log (/var/lib/mysql/$hostname.err) to see the specific error message when MySQL fails to load. This will help you determine which entries to change in your /etc/my.cnf file. Thank you.
    0

Please sign in to leave a comment.