mcgrath
Joined: 09 Nov 2011
Posts: 5
|
| Posted: Fri Jan 06, 2012 9:34 am Post subject: Database connection problem after virtual host server crash |
|
|
I'm banging my head on this one. I have 4 websites (2 wordpress and 2 joomla) running on a virtual host / fedora 15 linode. The server had an OOM issue yesterday and crashed. Something was overloading the memory almost immediately after reboot. Some of the tables needed to be repaired, which I did with myiasmchk. Now only one of the sites is working (one of the wordpress ones), and the others are showing :
Database Error: Unable to connect to the database:Could not connect to MySQL (Joomla)
and
Error establishing a database connection (Wordpress)
The tables seem to be ok in phpmyadmin
I created a test.php file with <?php phpinfo(); ?> and it looks like php is making a connection with mysql.
The wp-config (wordpress) and configuration.php (joomla) files haven't changed and the settings look ok.
Any help is greatly appreciated! |
|