PrismaP
Prisma8mo ago
8 replies
马修·伊利沙

prisma v6.9.0 connection string

I'm using Neon postgres. Since I updated to latest prisma version, I'm getting the following:
[auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror [auth][cause]: PrismaClientKnownRequestError: Invalid p.account.findUnique() invocation in C:\Users\dmoza\Documents\projects\my\saas\openstud\.next\server\chunks\node_modules__pnpm_4cbb8743._.js:45:45 42 } 43 }), 44 async getUserByAccount (provider_providerAccountId) { → 45 const account = await p.account.findUnique( Error validating datasource db: the URL must start with the protocol prisma:// or prisma+postgres:// at Gn.handleRequestError (file:///C:/Users/dmoza/Documents/projects/my/saas/openstud/node_modules/.pnpm/@prisma+client@6.9.0_prisma_12f395b7f2c46395cb11d4f7d1b6236f/node_modules/@prisma/client/runtime/library.mjs:128:7460)

But my Neon Postgres connection string starts like this postgresql://. So what am I supposed to do?
Was this page helpful?