Neon

N

Neon

The official Neon Database Discord

Join

🙏|feedback

❓|questions-and-answers

🐘|postgres

rising-crimson
rising-crimson5/8/2024

How do I get the connection string for a database through the API?

Hey there! I am testing out using Neon and my usecase requires using the API To create a database which is all good. I am struggling to find how to generate/get the connection string required to connect to the created database. Is there an endpoint to fetch it?...
eastern-cyan
eastern-cyan5/8/2024

Delete an account and all data

Hi, where can I delete my account and all data? 🤔
sensitive-blue
sensitive-blue5/7/2024

Deleted database still returning data

Just started out with Neon and while experimenting I deleted a database yet data was being returned to my Nextjs/Drizzle app. Just trying to make sense of this...
conscious-sapphire
conscious-sapphire5/7/2024

NeonDbError: Error connecting to database: Unable to connect. Is the computer able to access the url

When i use bun with drizzle and neon, i'm getting this error on data fetching after few minutes. I tried this example to solve the problem but the result is the same https://github.com/neondatabase/drizzle-overview/tree/main
like-gold
like-gold5/7/2024

Compute time clarification

Hi all, Totally new to this space and I have a question regarding the Usage metric displayed on the dashboard. I have two databases and on the free plan. Both are of low level usage and I noticed that "Compute time since May 1" is already at 4.78/5h? I am not sure where this 5h come from? Based on the pricing, I can see the Free tier offers "24/7 for your main compute" and upto 10 databases. I have no extra branches other than main for both dbs....
No description
foreign-sapphire
foreign-sapphire5/6/2024

Online Support not working

I have an infinite loading when clicking on "Support". Maybe it's linked to the Organization preview being activated on our account, but it's rather annoying considering we might need support for our work :/
No description
deep-jade
deep-jade5/6/2024

tRPC context, serverless-driver & websockets

Hi there! I'm currently working on a serverless app with the following tech stack: CF Workers, Hono, tRPC, DrizzleORM & Neon....
foreign-sapphire
foreign-sapphire5/6/2024

compute blocked on operation error

my compute is blocked "pending" with last operation as "operation status: error"
No description
sunny-green
sunny-green5/6/2024

How do I properly use the serverless driver for prisma?

accidentally deleted original post... tried to edit lmao my bad. nextjs 14 nextauth v5 prisma 5.13...
flat-fuchsia
flat-fuchsia5/6/2024

Local development and CI

For local development and CI how do you connect with websockets? Here is my docker-compose.yaml ```yaml version: "3.4"...
adverse-sapphire
adverse-sapphire5/4/2024

Unable to update email

need to update the login email for my account but im unable to change it (the input is disabled)
deep-jade
deep-jade5/3/2024

Use of --disable-triggers in pg_restore

Hi there, I am new to neon and trying to figure things out. I am trying to run pg_restore with the --disable-triggers flag. I think this requires running as a superuser (https://stackoverflow.com/a/36971024) but on your docs it says we can't connect as a superuser....
metropolitan-bronze
metropolitan-bronze5/3/2024

SQLAlchemy wrong snippet?

Hi guys! I've been checking the SQLAlchemy snippet and think it needs a quick fix: See attached pre (current snippet) and post (tentative solution) including connect_args at create_engine method instead of pass them on URL.create Feel free to reach here or javierrivases@gmail.com...
No description
wee-brown
wee-brown5/2/2024

db url endpoint / connection string changed without warning

Hi there, I use Neon through Hasura. I have a small app / PoC I've been building. Today, seemingly randomly (no db changes made today, no branches or otherwise, had been working this morning0, the connection started saying 'connection failed' when Hasura was trying to connect. I logged into neon and the project name was still the same, but the end point ( [new endpointname].us-west-2.aws.neon.tech/[mydb-name]?sslmode=require ) was different than what it had been for the previous two weeks. what would have caused this? i updated the connection string in Hasura and it works again, but that was not a fun surprise. (tagging 'Rust' because Hasura is now written in Rust)...
typical-coral
typical-coral5/1/2024

.NET guide not on the neon docs

Hello guys, Im starting on .net and Im trying to connect to the neon services. Looking the docs there is a topic called "Entity Framework" in the "Framework, language, and platform guides" but when I click it opens the Elixir/Ecto guide. Can someone help finding the information I need to make the connection string correctly? Thanks.
rival-black
rival-black5/1/2024

Submit support ticket as a free user?

Hi it seems like I accidently activated the pro plan? Just received an email with an invoice and was confused. I immidiatly checked why, so I downgraded to the free plan. I did not use the pro plan at all. Is there a way to contact the team regarding the invoice. I don't want to pay for something which I did not use. (I know it was probably my mistake, though I am not sure why I activated the pro plan). ...
like-gold
like-gold5/1/2024

Unable to get connection URI after creating branch from Neon CLI

I am running the following command to create a neon branch and execute a sql file against it. The SQL file simply creates a new test table neonctl branches create --project-id xxxxxxxx --name $(git branch --show-current) --psql -- -f src/sql-commands/test.sql I see the new Neon branch in the console, and also see the test table. However, the output from the terminal command is...
extended-salmon
extended-salmon5/1/2024

Upgrade from 15 to 16

How can I update from version 15 to 16 for a neon project?
genetic-orange
genetic-orange5/1/2024

I haven't used Neon in ~5 months. Got billed 19 USD today?

I would like a refund on a surprise charge today. 19 USD for an account I cannot manually delete (seriously guys just add this???) and have not used in ~5 months? This is not ok.