I have a laravel App on elastic beanstalk on AWS. And I am using Postgres as the DB. It is an AWS linux 2.
When I try connecting even local to the db I get this error.
I tried modifying the db's inbound rules, still not working.
Illuminate\Database\QueryException: SQLSTATE[08006] [7] FATAL: password authentication failed for user "postgres" FATAL: password authentication failed for user "postgres" (SQL: select count(*) as aggregate from "user" where "phoneNumber" = +1111111111111111) in file /var/app/current/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 692