HostGator: All WordPress Posts, Comments Deleted

This is a quick post or rather “quick fix” post.

If you are on HostGator shared hosting plan, then please check your blog. Today some of the HostGator customers reported that their WordPress posts, comments and almost everything went missing.

When we contacted one of the hostgator support team member, we came to know that it might have been due to a software upgrade at hostgator and not a hack.

Note: Only some customers have been effected by this.

If you are facing this problem, then simply log into your hostgator cpanel. Click on MySql Databases icon.
databases-cpanel
Now select the database where your WordPress has been installed and hit Repair DB.
database-repair
This should fix the problem. If not, you will have to restore the site with the latest backup.

Our blog was fixed by using the Repair option and now its working fine.