Link to database cannot be established: SQLSTATE[HY000] [1044] Access denied for user

Check the following when troubleshooting database connection problems:

  1. Check the file config/ has the correct database username, password and server values
  2. Check you have added the database user to the database. From cpanel -> Mysql Databases ->Add a User to a Database -> select user and database -> add -> select all Privileges -> make changes (refer to screenshot below)





Was this article helpful?

Related Articles