Can't fix 'Error establishing a database connection'
-
Hello,
I have been having issues with my website for almost a week now. The issues started when, for some reason, my theme updated automatically (which I didn’t want it to do because I have an edited version). I attempted to load a saved backup from the dashboard, but the plugin seemed to crash and I received “Error establishing a database connection” on both the site and when attempting to log on /wp-admin.
What I have tried so far:
– Repairing and optimizing the database
– Clearing cache.
– Making a new database user with all privileges and updating wp-config.
– Deleting plugins.
– Deleting the theme.
– Manually re-uploading the backed up version through Filezilla.This is the error that appeared in the log when I originally tried going back to a backup through the plugin, as well as the errors that appeared later when I tried to troubleshoot the issue:
/home2/wolfdrak/public_html/wp-admin/error_log: [13-Oct-2015 07:45:32] WordPress database error Table ‘./wolfdrak_wordpress/wp_options’ is marked as crashed and should be repaired for query SHOW FULL COLUMNS FROM
wp_optionsmade by do_action(‘load-toplevel_page_backup-with-restore’), call_user_func_array, hmbkp_request_restore_backup, Wpbp_Restore->start, Wpbp_Restore->restore, Wpbp_Restore->restore_complete, Wpbp_Restore->restore_database [15-Oct-2015 10:56:35] PHP Parse error: syntax error, unexpected T_STRING in /home2/wolfdrak/public_html/wp-config.php on line 47 [15-Oct-2015 10:56:37] PHP Parse error: syntax error, unexpected T_STRING in /home2/wolfdrak/public_html/wp-config.php on line 47Does anyone have any suggestions or solutions to my issue?
Thanks in advance!
The topic ‘Can't fix 'Error establishing a database connection'’ is closed to new replies.