WordPress Database Repair
June 30, 2015 / by Marco / Categories : TechnologyToday, 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:
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.
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);
Here’s a list of resources that you might find useful:
OTHER ARTICLES YOU MAY LIKE
USING BUTTERNUT.AI TO CREATE PROFESSIONAL WEBSITES
Having a professional and efficient website is crucial for any business looking to thrive online. With the constant advancements in technology, it can be overwhelming to keep up with the latest tools and platforms available for website creation. However, by leveraging the innovative capabilities of Butternut.ai, businesses can maximize their efficiency and create stunning websites […]
read moreEASY AND SIMPLE AI VIDEO EDITING SOFTWARE
Imagine your favourite movie scene transformed into a video in minutes, not hours. Thanks to advancements in technology, editing software has become increasingly user-friendly. Wondershare’s Filmora 14 stands as a prime example, boasting an array of AI features that simplify the editing process, with AI voice capabilities that could turn your voiceover dreams into a […]
read more