Skip to main content

Invalid Database Credentials

This error is thrown when the database credentials are incorrect. This can be caused by a typo in the .env, invalid password or invalid username.

invalid_db_creds

Ways to fix it

  • Make your credentials are correct to the database. Double check for typos and make sure the database is running.
  • Reset your database password

Tips

  • The default username for PostgreSQL is postgres (POSTGRES_USER).
  • The most common DB_HOST is localhost.
  • If you installed PgAdmin, it should've asked to enter a password during install, you must enter the same password in your .env file.
  • Make sure your password does not contain the following characters: #, $, ", '.

Was this page helpful?