Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

quickest-silver
quickest-silver2/25/2025

Pooling question for using Neon with Cloudflare Hyperdrive

I'd like to use Neon with Hyperdrive, but I see conflicting documentation whether to turn on/off Neon's own pooling. Cloudflare's docs says to turn it off: https://developers.cloudflare.com/hyperdrive/examples/neon/#:~:text=uncheck%20the%20connection%20pooling ...
conscious-sapphire
conscious-sapphire2/25/2025

not opening table tab

when i am opening my database it is opening but the table tab is not opening a error is coming in that. It was opening a few hour ago but not now and i have not done any changes in my any code Plz someone help me with this...
No description
other-emerald
other-emerald2/25/2025

How to connect with create/drop database rights?

I see that there is a the neondb / neondb_user created by default. Is this use an admin user on psql? I mean, how do I connect such that I can create/drop a database?...
other-emerald
other-emerald2/24/2025

P1001: Can't reach database server at `localhost:5432`

Hey, im using Neon and Prisma in my Next.Js project, when i try to push my db for the first time i get this error. i already read foruns and the Prisma and Neon doc, all they say to add a connect_timeout to the URL, i did it and the error persist. In my .env: DATABASE_URL="postgresql://mydb_owner:<password>@ep-mute-term-a52thx58-pooler.us-east-2.aws.neon.tech/mydb?sslmode=require&connect_timeout=15&pool_timeout=15" ...
xenial-black
xenial-black2/24/2025

2FA Auth

Hi there 👋 I would love to know when Neon will support 2FA authentication. It feels odd for a database product to not support such a basic security feature nowadays. 🤔 Thank you very much!!...
typical-coral
typical-coral2/24/2025

Neon-auth

Is there a plan to support teams/orgs ? Also is there a timeline for clerk?...
optimistic-gold
optimistic-gold2/24/2025

Connection reset by peer when connecting from Northern Europe

Specifically one of the software we run, Ory Keto, gets this error multiple times per day, which makes a few support tickets each day. Our project is setup to always be on at .25 CUs and runs in Azure Germany West Central (Frankfurt). It has almost no traffic, but the symptoms is as if it's not always on and has connection issues whenever the first connection in a while happens. It looks like we get scaled to 0, perhaps it's the connection pooler? This does not happen at all with a locally setup PG17 instance. The error we get is specifically:...
No description
ratty-blush
ratty-blush2/24/2025

Using drizzle to make project-per-tenant?

B2B SaaS: How can I automate onboarding for new organizations using drizzle in a shared application, one db-per-tenant? For example creating organization at sign-up, and getting a database right away?...
firm-tan
firm-tan2/23/2025

vercel

could anyone give me a tip as to why I can connect to my neon database via localhost but it's giving a 500 error when trying to connect through my vercel deployment?
like-gold
like-gold2/21/2025

Multi Tenant b2b saas

Pros and Con's of one project with many branches (one branch per tenant) VS multiple projects (each tenant gets their own project with one db branch)...
ratty-blush
ratty-blush2/20/2025

Multi-tenant DB design advice needed

I'm in the planning phase of a B2B SaaS platform (taking inspiration from Linear/Fibery/some generic admin dashboard) and need some advice on the database architecture for multi-tenancy using Neon Postgres. Current planned tech stack (Any feedback is greatly appreciated): * React * Next.js ...
crude-lavender
crude-lavender2/20/2025

How to turn off Preview branching on Vercel/Neon?

Does not seem to be in either Vercel or Neon console. It's a cool feature but looks like on the free tier, we're only allowed to have 10 branches so hence it doesn't really make sense.
harsh-harlequin
harsh-harlequin2/18/2025

Cannot connect to source database

I've created a postgreSQL db, which server is running on my machine, and i want to migrate it to Neon, with the schema and all data in it. But, the Migration Assistant doesn't seem to accept the two formats of connection strings i've inserted until now, those being: "postgres://user:password@host:port/db" and...
extended-yellow
extended-yellow2/18/2025

Storage limit reached, but db is half of max storage

So i have reached max storage on the free plan with my db only being 259.48MB, i have also set backup storage to be 0. So i dont understand why i'm having this problem
like-gold
like-gold2/18/2025

Uncaught Exception: Error: Connection terminated unexpectedly

I have a Next.js app deployed on Vercel, using @neondatabase/serverless as a PostgreSQL client and @prisma/adapter-neon to integrate with Prisma. Occasionally, I get a Connection terminated unexpectedly error, which causes an unhandled exception and crashes the Node.js process with exit code 129 (SIGHUP). Here’s my setup: ```import { Pool, neonConfig } from "@neondatabase/serverless"; import { PrismaNeon } from "@prisma/adapter-neon"; import { PrismaClient } from "@prisma/client";...
extended-salmon
extended-salmon2/17/2025

How do I turn on protocol-level prepared statements in Diesel?

Diesel statement caching on Neon postgres is returning an error only. When I look at the Neon docs, it says I need to configure the connection to use named prepared statements. I don't see that as an option in Diesel R2D2. Has anyone figured this out?
optimistic-gold
optimistic-gold2/17/2025

Prisma Schema with Neon Project Per User

Hi all, I am currently investigating a project per user set up for my multi-tenant application which uses Neon, Prisma ORM and Next.js hosted in Vercel. I have played around with the Neon API and was able to create a new project and run migrations on that project as soon as a new user logs in to the application. ...
sunny-green
sunny-green2/16/2025

Is it possible to create a "base" project that I can duplicate?

I have a multitenant application where I create a new project for each new tenant automatically. With the new project I have to run a migration to create the tables but unfortunately with Cloudflare Workers the migration files wouldn't be there in the first place. So I'm thinking using Neon's API, is there a way to create a "base" project that I can use to create new projects for the tenants?
afraid-scarlet
afraid-scarlet2/16/2025

should i really need to migrate to neon's JS driver?

We have been using supabase on a vercel-fastify backend using the @porsager/postgres module. Now we are planning to move to neon, but do we really need to switch to neon's JS driver from the current postgres module we are using?