drizzle-team / drizzle-kit-mirror

Docs and issues repository for drizzle-kit
289 stars 17 forks source link

Drizzle studio not working with neon #602

Closed naldiocj closed 3 days ago

naldiocj commented 1 week ago

drizzle-kit studio

No config path provided, using default 'drizzle.config.ts' Reading config file '/home/naldio/dev/instagram-clone/drizzle.config.ts' Using '@neondatabase/serverless' driver for database querying Warning '@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances through a websocket

L-Mario564 commented 3 days ago

I think the warning message explains it pretty clear. While using the @neondatabase/serverless driver, it has to be connected to a remote DB (not a local one) via websocket. Read more about the latter here: https://neon.tech/docs/serverless/serverless-driver#use-the-driver-over-websockets.