Reinstalled wordpress, database error, tables maybe not filled?
-
Hi,
I didn’t update my wordpress for ages last year and so it was hacked. I left it for a while and went to work with it again now. I took all the wordpress files off my server, and uploaded the whole new wordpress package.
Then I emptied all tables in my wordpress database because I don’t know what the hacker messed with except my home page and wpadmin password. Except wp_posts. It still has all my posts and I would love to be able to not have to copy them manually, and I figured they might just show up if I left it like that, so I’ve left that one as it is.
I installed wordpress and only got round to creating the config file when I got this error when I try to go straight to the website, http://www.lwuun.net:
“Error establishing a database connection”And this when I go to wp-admin:
“One or more database tables are unavailable. The database may need to be repaired.”I have repaired all the tables multiple times both through wordpress and through phpmyadmin; and I have checked whether the problem is the connection *with* the database but it is not. It is also not a problem with the info I filled out in wpconfig as this is the exact same info I used to have in there pre-hack when everything worked just fine and that hasn’t been changed.
Then I saw, as I was trying all these different fix-database tips online, that I missed e.g. siteurl in wp_options (one tip was to change the siteurl). Now I’m thinking that I may be missing way more rows, perhaps in more than one table, maybe due to the fact that I deleted the content of the tables earlier, or maybe because I deleted all the content except wp_posts? For instance, I only have two rows in wp_options now, four under terms, three under term_relationships, four under usermeta. Is that perhaps the problem?
Thank you for your time!
- The topic ‘Reinstalled wordpress, database error, tables maybe not filled?’ is closed to new replies.