Support » Fixing WordPress » error establishing a database connection

  • i m trying to move a wordpress website from one localhost to another in this work i m facing problem of error establishing a database connection.
    please help me to solve this problem it will be very helpful for me

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello!

    Please be sure that you have updated the wp-config.php file with the correct database username and password.

    This message means that WordPress can’t find and connect to your database.

    • This reply was modified 4 months, 1 week ago by  BakemyWP.

    One other thing to check in your wp-config file is that the database name, user and password are delimited by single quotes. Double quotes will cause this error too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.