Server Wont Connect to Database

Hello All,

Hoping someone can point me in the right direction. I have a dedicated server and host 3 Dolphin 7 websites. Until recently the sites were working fine and now they will not load. The server error message states, "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" The website states, "Database Connect Error." I have attached pics of the error messages I have received. I have not done any work, updates or modifications to the server. Any help is greatly appreciated. Thank you in advance.

Website DB Error.PNG · 9.3K · 402 views
Server DB Error.PNG · 5.3K · 396 views
Quote · 10 Dec 2012

If you have a managed server, contact your host to check the MySQL Database server. It appears to be down.

You may be able to do that from in cPanel as well. I am not sure.

In any case, the database server being down is what it sounds like.

https://www.deanbassett.com
Quote · 10 Dec 2012

If the database is on a separate box, then it might be a network error.  I would contact your provider even if you are not on a managed server; hardware issues, network issues, are still their responsibility.

Geeks, making the world a better place
Quote · 10 Dec 2012

Thank you for your responses. Question... Does anyone know what this means and more importantly how to fix:

 

Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

Quote · 11 Dec 2012

 

Thank you for your responses. Question... Does anyone know what this means and more importantly how to fix:

 

Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

 
I thought we explained it. The error means exactly what it says. Can't connect. And the most likely reason is because the database server is down. The fix, Contact you host.




https://www.deanbassett.com
Quote · 11 Dec 2012

I was on a VPS that was set so if the MySQL connections reached too many, the MySQL server would just shut down.  There was no throttling of any kind.  My guess is that your MySQL server is shut off if it running on localhost.  If it is on a dedicated box then it is possible the connection to it has failed for some reason; which would be a issue for your provider of the dedicated box.  Now if the MySQL server is on the same dedicated box, then you need to go into your control panel and start it.    OK, it is possible the socket that the MySQL server connects on has been closed for some reason; if you close the socket, then it can not be used.  Perhaps this was done as a mistake in trying to make the server more secure.

If you don't have the knowledge to do these things, then contact your provider for help.  If your box is unmanaged, then put in a support ticket and see if you can order a one time service for whatever fee they charge. 

Give us a little more detail on your setup, what control panel you use to work on the dedicated server settings, etc.

Geeks, making the world a better place
Quote · 12 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.