I am in the process of migrating some WordPress sites to a new server. The first three websites went with out a hitch. While working on the fourth site I migrated over the database and files. When editing the config file I put in the new information. Then I loaded the site to see if the migration worked and I get a HTTP error 500. When I change the password to the incorrect password I get the error establishing database connection.
Read more here: WordPress Migration issue with DB password