We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Help Please With WordPress It Keeps Going Round In Circles!
kah22
Posts: 1,891 Forumite
in Techie Stuff
OK I'll admit it I was watching the match and trying to work the computer at the same time and have landed my self in the s..t. Anyway here's my problem
I completely removed my copy of WordPress and deleted the database. I then re-installed WordPress, carried out all the necessary adjustments and went to http://mysite.com/wp-admin/install.php but got the message that ‘One or more database tables are unavailable. The database may need to be repaired.’ Went through the desired procedure with the results below
The wp_users table is okay.
The wp_users table is already optimized.
The wp_usermeta table is okay.
The wp_usermeta table is already optimized.
The wp_posts table is okay.
The wp_posts table is already optimized.
The wp_comments table is okay.
The wp_comments table is already optimized.
The wp_links table is okay.
The wp_links table is already optimized.
The wp_options table is okay.
Successfully optimized the wp_options table.
The wp_postmeta table is okay.
The wp_postmeta table is already optimized.
The wp_terms table is okay.
The wp_terms table is already optimized.
The wp_term_taxonomy table is okay.
The wp_term_taxonomy table is already optimized.
The wp_term_relationships table is okay.
The wp_term_relationships table is already optimized.
The wp_commentmeta table is okay.
The wp_commentmeta table is already optimized.
Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.
define('WP_ALLOW_REPAIR', true);
Removed the line above and went back to http://mysite.com/wp-admin/install.php but again get the message that One or more database tables are unavailable. The database may need to be repaired.
It keeps going around in circles.
In case some files were corrupted I did another complete re-install, didn't touch the database though and still getting the same result
Any suggestions, and idea of what might be happening?
Kevin
I completely removed my copy of WordPress and deleted the database. I then re-installed WordPress, carried out all the necessary adjustments and went to http://mysite.com/wp-admin/install.php but got the message that ‘One or more database tables are unavailable. The database may need to be repaired.’ Went through the desired procedure with the results below
The wp_users table is okay.
The wp_users table is already optimized.
The wp_usermeta table is okay.
The wp_usermeta table is already optimized.
The wp_posts table is okay.
The wp_posts table is already optimized.
The wp_comments table is okay.
The wp_comments table is already optimized.
The wp_links table is okay.
The wp_links table is already optimized.
The wp_options table is okay.
Successfully optimized the wp_options table.
The wp_postmeta table is okay.
The wp_postmeta table is already optimized.
The wp_terms table is okay.
The wp_terms table is already optimized.
The wp_term_taxonomy table is okay.
The wp_term_taxonomy table is already optimized.
The wp_term_relationships table is okay.
The wp_term_relationships table is already optimized.
The wp_commentmeta table is okay.
The wp_commentmeta table is already optimized.
Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.
define('WP_ALLOW_REPAIR', true);
Removed the line above and went back to http://mysite.com/wp-admin/install.php but again get the message that One or more database tables are unavailable. The database may need to be repaired.
It keeps going around in circles.
In case some files were corrupted I did another complete re-install, didn't touch the database though and still getting the same result

Any suggestions, and idea of what might be happening?
Kevin
0
Comments
-
Few people have had this problem.
Do you have access to 'phpmyadmin' ?
If so go to the Wordpress database and find the config table and look for the URL value (it will be blank!) change it to your website address)
The problem might be that the repair removed your site's URL from the database.
If you don't have access to "phpmyadmin" but have access to the SQL console try the following: (replace <YOURURL> with your website address!)UPDATE YOUR DATABASE NAME.wp_options SET option_value = 'http://<YOURURL>' WHERE wp_options.option_id =2 LIMIT 1 ;
Things should now be running (no need to run the repair again!!)
http://wordpress.org/support/topic/error-establishing-a-database-connection-171Laters
Sol
"Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"0 -
SOlitaire thanks for the advice.
Talk to my ISP F2S and they advised just deleting every table, one by one, and then running the WP instalation again. Didn't mind adopting this approach as I intend to take my blog in a new direction. Worked perfectly first time. Problem solved0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 603K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards