WordPress Database Repair

June 30, 2015   /   by Marco  / Categories :  Technology
WordPress Repair Database

Today, one of my sites was not loading correctly – images and text were not displaying which I guessed that the database was corrupted.
In an older post I outlined how to repair mySQL tables using a tool called mysqlcheck. This process may have been a bit too difficult for some so I wanted to outline an easier way of doing a repair if you’re using WordPress. Follow these steps:

1. Login to your hosting account

2. Edit the wp-config.php file

3. Add the line

define('WP_ALLOW_REPAIR', true);

So the config should look like this:

WordPress Repair Database

4. Make sure you save the file.

5.Now go to your wordpress site: e.g.

http://websiteaddress.com/wp-admin/maint/repair.php

You will see the below screen. Just click on Repair and Optimize Database.

WordPress Repair Database Screen

6. Let it run and once completed test your site to see if it now works.

7. If it works, then go back into the wp-config.php file and remote the line

define('WP_ALLOW_REPAIR', true);
RESOURCES

Here’s a list of resources that you might find useful:

WordPress Site

Other method for repairing database using mySQL

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


BUSINESS DOCUMENT TEMPLATES – CROVE APP

BUSINESS DOCUMENT TEMPLATES – CROVE APP

Are you looking for a business template to use? Did you know there are tools available that allow you to just enter the finer details and you’ll be able to create business documents? Well, Crove App is a SaaS tool that allows your business to quickly create business documents.  Crove App is a cloud-based document […]

read more
AWESOME TOOL FOR REMOTE ACCESS COMPUTERS CALLED GETSCREEN.ME

AWESOME TOOL FOR REMOTE ACCESS COMPUTERS CALLED GETSCREEN.ME

Are you looking for a reliable and secure tool to access remote computers? Look no further than Getscreen.me. This powerful and easy-to-use remote access tool for Windows and Mac provides a fast, secure connection for accessing and controlling virtually any type of device, even if you’re far away. With Getscreen.me, you can connect with any […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools