Build Your Own Business Website header image

How to Identify and Repair a Hacked WordPress Site – Step 5 – Reinstall the Old Database

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

So we’ve reinstalled WordPress manually and the next thing to do in this process of repairing a hacked WordPress site is to reinstall the old database. This is using a brand new empty database, right?

So if we come back over to our phpMyAdmin on this and click on this database, here are all of our newly created tables. And they’re all blank. Well, what we’re going to do is we’re going to check all of them and we’re going to drop them. Then we’re going to come back over to import and we’re going to browse for our file.

We need to sort this by date modified. Okay, there’s our SQL file that we exported so we’re going to import that and say Go. We need to give it a few minutes to do its thing, it’s not going to tell you that it’s done it. I don’t understand why phpMyAdmin is behaving like this.

Okay, we’ve got 21 tables in here.

Leah: I see a website.

Rick: Do you see a website now?

Leah: A terrible looking one but there’s something there.

Rick: Well, let’s go to see. I’ll be happy with anything at the moment. Perfect. Okay so we are back to a working WordPress install which takes us to the next step which is to sanitize the old database.

0 Comments… add one
0 comments… add one

Leave a Comment