Earlier today I was deactivating plugins and I got a lot of "resource limit is reached" errors.Then I was trying to restore a database backup I had taken few days back and I get this error that "Error establishing a database connection" .When I try to repair the database I get the error 'Failed to repair the wp_posts table. Error: Table '*_wrdp2.wp_posts' doesn't exist"
I really don't understand how this is possible and I looked in phpmyadmin in control panel and wp_posts is not there.
What can be done? I have backups but it not working.