Username (e.g. epiz_XXX) or Website URL mikesmarket.rf.gd
(please specify the website or account you are asking about) mikesmarket.rf.gd
Error Message
(please share the FULL error message you see) error establishing database connection
Other Information
(other information and details relevant to your question)
my website has been down for weeks. unable to log into cpanel, and when i try to go to my website it says ‘error establishing database connection’. a few weeks ago it would even connect. my ip is 185.27.134.217
I just got in. I changed my password, and for some reason that worked. I was using the correct one before. I copied it from my client area, so I know it was right. But for some reason, changing it got me in!
I enabled wp_debug in wordpress and it said: This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at sql206.epizy.com . This could mean your host’s database server is down.
I then tried typing sql206.epizy.com into my browser, and I can’t connect. Does that mean infinityfree’s sql server is down?
Here’s the full message: Warning : mysqli_real_connect(): (HY000/1045): Access denied for user ‘epiz_27362232’@‘192.168.2.183’ (using password: YES) in /home/vol5_2/epizy.com/epiz_27362232/htdocs/wp-includes/wp-db.php on line 1653
Deprecated : mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/vol5_2/epizy.com/epiz_27362232/htdocs/wp-includes/wp-db.php on line 1685
Warning : mysql_connect(): Access denied for user ‘epiz_27362232’@‘192.168.2.183’ (using password: YES) in /home/vol5_2/epizy.com/epiz_27362232/htdocs/wp-includes/wp-db.php on line 1685
Access denied for user 'epiz_27362232'@'192.168.2.183' (using password: YES)
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at sql206.epizy.com. This could mean your host’s database server is down.
Are you sure you have the correct username and password?
Are you sure you have typed the correct hostname?
Are you sure the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
Nevermind, I had to update my password in the wp_config file.
Now it says: Fatal error : Cannot redeclare wp_slash_strings_only() (previously declared in /home/vol5_2/epizy.com/epiz_27362232/htdocs/wp-includes/formatting.php:5559) in /home/vol5_2/epizy.com/epiz_27362232/htdocs/wp-includes/deprecated.php on line 4120
Holy shit. I removed that second declaration, and there was a third declaration later in the document. So I removed that one too, and now my website is working again!
No idea how those lines added themselves. I certainly wasn’t the one who did that.