Error establishing a database connection
-
Hi guys,
I need your help one of our client the chembondinc.com is having a problem there was an error when you tried to open their website the error says “Error establishing a database connection”.
I already checked the wp-config.php and the details is correct, I tried to create the test.php file using the credentials on wp-config it does successfully read the database without errors.
On the wp-admin there was a message that says ” One or more database tables are unavailable. The database may need to be repaired. ” I tried to click the repair and install the additional script on wp-config.php file and click the repair button, and these are the results:
The wp_users table is okay.
The wp_usermeta table is okay.
The wp_posts table is okay.
The wp_comments table is okay.
The wp_links table is okay.
The wp_options table is not okay. It is reporting the following error: Table ‘chembond_wp435.wp_options’ doesn’t exist. WordPress will attempt to repair this table…
Failed to repair the wp_options table. Error: Table ‘chembond_wp435.wp_options’ doesn’t existThe wp_postmeta table is okay.
The wp_terms table is okay.
The wp_term_taxonomy table is okay.
The wp_term_relationships table is okay.
The wp_commentmeta table is okay.
Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.
wp_options: Table ‘chembond_wp435.wp_options’ doesn’t exist
I tried to check on the phpmyadmin on cpanbel and click the wp_option table it appear an error message:
#1146 – Table ‘chembond_wp435.wp_options’ doesn’t exist
What seems the problem here guys? I did not touch the website, I guess the wordpress here is automatically updated the new version and it does not successfully updated. That is why it is having an error now.
I really appreciate your help
Thank you
- The topic ‘Error establishing a database connection’ is closed to new replies.