PrismaP
Prisma2mo ago
1 reply
sanjiva

P1001: Can't reach database server

I need help integrating Prisma v7 ORM + Supabase to my Nextjs, I always got P1001 error everytime I push my prisma to my supabase. I follow the steps in new version but still can't figured out.

For Practice only
This is my database url (EMPTY NO TABLES YET)

# Connect to Supabase via connection pooling
DATABASE_URL="postgresql://postgres.vzpfhkcbcuossayikckw:G4IQ5oB8fFrE6eTG@aws-1-ap-southeast-1.pooler.supabase.com:6543/basic?pgbouncer=true"

# Direct connection to the database. Used for migrations
DIRECT_URL="postgresql://postgres.vzpfhkcbcuossayikckw:G4IQ5oB8fFrE6eTG@aws-1-ap-southeast-1.pooler.supabase.com:5432/basic"
image.png
Was this page helpful?