Error establishing a database connection

I need help for this:

This either means that the username and password information in your wp-config.php file is incorrect or that contact with the database server at could not be established. This could mean your host’s database server is down.

Hi, welcome to the forum.

If you log into your InfinityFree account and click on your account name then go to Databases you should see your database connection info listed. You can also try to go to Control Panel and click on phpMyAdmin to try to connect to your database. Try those methods first to see if you can connect. Then you can troubleshoot the WordPress issue later.

1 Like

Please enable WP_DEBUG to check for the actual issue:


I just tried and i can log in without problems if I do it manually

Did you do this?

Have you also tried checking your credentials in wp-config.php to ensure they’re the same as those in the client area?


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