Jump to content

[Answered] Too Many Connections To Mysql?


Recommended Posts

Posted

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...