problem migrating my drupal site PDOException: SQLSTATE[42000] [1044] Access denied for user
With JustHost you need to assign the user to the database from the Database Maintenance drop down page. Instructions are on their site too. I did this, and it fixed my problem.