Error Connecting to Database

Hi,

I’m getting the dreaded “Error connecting to Database” on an otherwise blank white screen.

I read through a couple of articles on fixing the problem and in doing so, added the line:

define('WP_ALLOW_REPAIR', true); to my wp-config.php file.

When WP tried to repair and optimize the database, I got quite a few scary looking error messages regarding tables not being closed properly. The result of the database check can be found here:

Can you help me resolve it and tell me what I did wrong to cause it? All I remember doing before this error showed up is deleting some unnecessary plugins. In my internet searches it looks like the “Error connecting to Database” is a pretty common problem. It’s got all of my sites down on my server, even non-WP sites. So if this occurs when I actually have Users, I’ll need to know how to fix it pronto!!

Thanks guys!!

m