P
Prisma5d ago
Aashik

Can't reach database server at `aws-0-ap-southeast-1.pooler.supabase.com:5432

Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma ✔ Generated Prisma Client (v6.2.1) to ./node_modules/@prisma/client in 41ms Start by importing your Prisma Client (See: https://pris.ly/d/importing-client) Tip: Need your database queries to be 1000x faster? Accelerate offers you that and more: https://pris.ly/tip-2-accelerate Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "database", schema "public" at "database-1.clkkwy84y6wz.eu-north-1.rds.amazonaws.com:5432" Error: P1001: Can't reach database server at database-1.clkkwy84y6wz.eu-north-1.rds.amazonaws.com:5432 Please make sure your database server is running at database-1.clkkwy84y6wz.eu-north-1.rds.amazonaws.com:5432. im using AWS RDS I needed help please
Prisma
Prisma | Simplify working and interacting with databases
Build, fortify, and grow your application easily with an intuitive data model, type-safety, automated migrations, connection pooling, caching, and real-time database subscriptions.
Prisma
Prisma Accelerate | Make your database queries faster
Accelerate is a managed connection pooler with global caching that helps you speed up your queries with just a few lines of code.
2 Replies
Prisma AI Help
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into #ask-ai for a quick spin!
RaphaelEtim
RaphaelEtim5d ago
Hi @Aashik Can you please try the solution suggested here Add
?connect_timeout=30&pool_timeout=30&socket_timeout=30
?connect_timeout=30&pool_timeout=30&socket_timeout=30
GitHub
Error P1001 Can't reach database server at AWS RDS (MySQL) · Issue ...
Bug description I am trying to migrate my models to an AWS RDS (MySQL) database, but I am encountering this error: Environment variables loaded from .env Prisma schema loaded from prisma/schema.pri...

Did you find this page helpful?