I get this when trying to do my initial push to my AWS RDS db with npx prisma db push command
my .env:
DATABASE_URL=postgresql://mastermfdt:MYPASSWORD@market-fox-dev-test.cexhsakjwiq7.us-east-1.rds.amazonaws.com
Master username
mastermfdt
Password
auto generated one by AWS, has no special characters in it.
DB instance ID
market-fox-dev-test
Endpoint
market-fox-dev-test.cexhsakjwiq7.us-east-1.rds.amazonaws.com
Port
5432
Status
Available
Publicly accessible
Yes
Referecning these docs:
https://www.prisma.io/dataguide/postgresql/setting-up-postgresql-on-rds
https://www.prisma.io/dataguide/postgresql/short-guides/connection-uris
I'v also tried other url variants, using "postgres" as my username, including the port and database name "...aws.com:5432/market-fox-dev-test", just the port, ?connect_timeout=30&pool_timeout=30&socket_timeout=30
No proxies or clusters involved here. Just doing a standard RDS setup to test out using it with Prisma.
Can you try a direct connection from your CLI to see if the connection works? Something like