Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help PLEASE! Error establishing a database connection

please help, I have transfered my Database and files from my local server successfully, and I have also done the normal configuration of the wp-config.php. But each time i try to access my site what i see is Error establishing a database connection. programasgratiscomkeys.epizy.com
My username epiz_21869213

Comments

  • Are you sure you're entering correct credentials?

    Database user should be your username 'epiz_21869213'

    Database name should be: epiz_21869213_name

    Database password should be your cPanel password.

    Database host should be sql###.something.

  • edited April 6

    A good first step to solve issues like this is to enable debug mode in WordPress. To do that, find the line with WP_DEBUG in wp-config.php and change the false to true.

    After refreshing the page, you should see a lot more information about why the connection failed. You can probably find the actual error message in this article: https://infinityfree.net/support/common-mysql-errors/

    Don't forget to disable WP_DEBUG again afterwards, it's a security risk to have it on by default.

  • Hello! Thank you both for answering. I solved that the problem was that the host was wrong, the host that I had was the one I had when I made the backup.

  • @VPHrishikesh said:
    Are you sure you're entering correct credentials?

    Database user should be your username 'epiz_21869213'

    Database name should be: epiz_21869213_name

    Database password should be your cPanel password.

    Database host should be sql###.something.

    Hello! Thank you !

Sign In or Register to comment.