Jump to content

[Answered] Too Many Connections To Mysql?


dragons1

Recommended Posts

Hi, well i was trying to connect a new site of mine to the Mysql and just popped up saying to many connections to it and its the only one trying to connect. Is they're any way to fix this?

 

This is the error code i get

Error while connecting to MySQL: (XID 8wtjr5) Database Connect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Error while connecting to MySQL: (XID 8wtjr5) Database Connect Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/Cpanel/Mysql.pm line 173.

Link to comment
Share on other sites

That error is because mysql was restarting not that there were too many connections. Mysql has to restart occasionally on all of our servers, but since the load is so high on Johnny it can take a minute or so. When it takes more than 30 seconds people tend to notice it. The only thing that can be done to "fix" it is have less users on that server, but people get frustrated when they can't create an account because all of the servers are full for the day so we let Johnny get overloaded on purpose so people can just create an account. If you want a server with higher uptime (and less of these types of errors) we highly recommend Tommy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...