Database connection failed

This usually happens when you move to a live server and the database credentials are not updated.

Error Details: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)