P
Prisma•2w ago
CreatixEA

Why can't we connect directly to postgres ?

Hi, Using NExtJS 15 and Prisma connected to a simple postgresql database, I don't understand why something that worked before needs now an extra adapter ot using accelerate ? I just want to connect simply to a database for a small app that will not have that much users and concurrent connections. That makes something that was easy before really more complex and boiler plated 😦
3 Replies
jonfanz
jonfanz•2w ago
Hello, We haven’t changed support for Next.js in a while (maybe over a year?) What error messages are you getting?
CreatixEA
CreatixEAOP•2w ago
Hello, Thank you for your answer. The message specifies that we must use specific adapters when using the Server components, and send us to the Prisma accelerate or specific driver use. I though it was natively supported. That's only réflexion, and yes I updated the Prisma package only recently 😉 É.
jonfanz
jonfanz•2w ago
Would you mind sharing the error message directly? Also, is your code running in a Vercel edge function or edge middleware?
Want results from more Discord servers?
Add your server