Website unexpectedly started showing error establishing database connection

My website is HIDDEN BY MOD

Error Message: " Error establishing a database connection"

The website was working perfectly yesterday and today I received 2 e-mails from Jetpack Support that the website is down since 6:15am.

I checked the forum and looked for the wp-config.php and saw that the first lines were missing:

“// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress /
define( ‘DB_NAME’, ‘database_name_here’ );
/
* MySQL database username /
define( ‘DB_USER’, ‘username_here’ );
/
* MySQL database password /
define( ‘DB_PASSWORD’, ‘password_here’ );
/
* MySQL hostname */
define( ‘DB_HOST’, ‘localhost’ );”

I changed them based on the information in InfinityFree accounts details but still receive the same error.
It is very unexpected since the website was working perfectly yesterday and it just stopped randomly.

Please help me fix this issue.

Thanks in advance.

mine too. it is probably a server wide issue.

1 Like

epizy.com and their database server is down, that’s why infinityfree’s hosted site’s are unable to connect with database. hopefully it will be solved soon

5 Likes

me too, and im not do backup yet. Hopefully it can be safe

1 Like

don’t worry, data will be safe

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.