My board has crashed (I didn't do anything!), and is giving this error:
Script: Line#: SQL Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Please verify that your MySQL server is running SQL Error #: 2002 Query: Unable to connect to the database!
Is it correct to assume that this is caused on the host's end, like their server is down? Thank you.
This can also happen if your config.inc.php file has been corrupted. This file holds all of your settings including your connection to mysql. HERE is a post from another user that reported the exact same error.
So I would double check the file in question.
BTW, This is the same issue as JAISP stated. "No connection to MYSQL" If this file is corrupted the board does know how to connect to the database.
Also it would be helpful if you added your board url to your profile. So people like me can take a quick peek at the problem. Sometimes it helps sometimes it doesn't. But it does save time posting back and forth asking for the url.
Thank you very much for your replies. Here's the error URL: http://www.wheelchairjunkie.com/forums/ubbthreads.php I am able to log into phpMyAdmin, but I can't find a config.inc.php file. It's odd because the board has run flawless for a year, and suddenly it's just showing this error. Thanks again.
I would probably say yes. If you did read my post link. It could be your server over wrote the config.inc.php file due to out of disk space. A big clue is the file is 0 bytes. See if you can find the config file. and restore it even if it is out of date the paths.login,password should be correct.
Ruben, my config.inc.php file is 0. Unfortunately, I don't have access to the original files, and my membership expired last month... so I guess I have to buy an upgrade, and go from there. Thanks.
Well, You may have other options.If you have a old backup you can use it like I said before. You just will need to update it after uploading. Another option is if you have the original zip file, set up a test board and let it create a new config file and copy it over to the live board.
Or somebody may have a default config file for you to use. But you need to let us know what the version is. Also Rick could rebuild your config file. If you open a support ticket.
The only time I have ever had an issue with the config file was when I was editing it locally, and I forgot it was opened when I switched between computers and accessed it via my CP and updated it there as well.... when I switched back to my forums (locally) I saved changes and voila everything was wiped and I had to use a backup. Maybe something like this happened, where there were two instances of the config file being written and it burped out a WTH are you doing to me kind of thing.