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 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!

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct