Hi @BNK989 👋

Thank you for raising this question.

Can you try to use the direct connection string rather than the pooled one. Here is an example of a direct connection string:

DIRECT_URL="postgres://postgres:__PASSWORD__@db.__YOUR_SUPABASE_PROJECT__.supabase.co:5432/postgres"

The default port for the pooler is 6543, but if you are using the direct connection, it should be 5432. Ensure that you are using the correct port in your connection string.

🌐
DEV Community
dev.to › digitaldrreamer › prisma-db-push-or-pull-stuck-1g4j
Prisma db push or pull stuck? - DEV Community
January 7, 2026 - When working with Prisma and Supabase DB, I got an issue with the Prisma CLI getting stuck during prisma db push and prisma db pull.
Discussions

database - Why does the command npx prisma db push not progress and fail to push my models to Supabase? - Stack Overflow
When I run npx prisma db push, the command does not proceed beyond this part. I've been waiting for almost 30 minutes, and it doesn't progress further. C:\Users\matti\Documents\Weso\Proyectos\X-Inf... More on stackoverflow.com
🌐 stackoverflow.com
Prisma error even after pushing model in db!!
Hey there, I'm Nikolas from the Prisma team. Can you sahre more about the exact error message you're seeing? We'd love to help! (FWIW, you can also always ask questions to our Support team on GitHub or our Discord ). More on reddit.com
🌐 r/node
15
0
May 31, 2025
prisma db push with in-memory mongodb hangs when model has more than 7 unique/index field
Bug description I have a in-memory mongodb setup for unit testing, and after the db is up, I run prisma db push using execSync in my setup script. I run the DB setup script in jest beforeAll() func... More on github.com
🌐 github.com
2
April 2, 2024
db push stuck
hello! when running prisma db push it logs that the schema is loaded then logs the datasource then does nothing! More on answeroverflow.com
🌐 answeroverflow.com
August 24, 2024
🌐
Reddit
reddit.com › r/node › prisma error even after pushing model in db!!
r/node on Reddit: Prisma error even after pushing model in db!!
May 31, 2025 -

I did eveything box prosma push, generate. Refreshed my vs code, restarted my laptop yet no results. I can't see the these two models created in db like users, accounts has. I have even made relationship with user to see of that is working but jope. Can't anyone please help am I doing it wrong or something.

🌐
Drreamer
drreamer.digital › blog › prisma-db-push-or-pull-stuck
Prisma db push or pull stuck? – Wale Bashir (@digitaldrreamer)
August 18, 2024 - Fix for Prisma connection stuck when working with Supabase. Switch from pooled connection to direct connection.
🌐
GitHub
github.com › prisma › prisma › issues › 23703
prisma db push with in-memory mongodb hangs when model has more than 7 unique/index field · Issue #23703 · prisma/prisma
April 2, 2024 - It was working fine for a few months during development then today, after i added another @@unique field to one of my model, it starts hanging at the execSync stage, while running npm run db:push, which runs prisma db push.
Author   prisma
🌐
Answer Overflow
answeroverflow.com › m › 1276627940008001628
db push stuck - Prisma
August 24, 2024 - hello! when running prisma db push it logs that the schema is loaded then logs the datasource then does nothing!
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 79911935 › prisma-db-push-command-hangs-when-using-supabase-transaction-pooler-port-654
postgresql - Prisma db push command hangs when using Supabase transaction pooler ( port - 6543) - Stack Overflow
I'm building a full-stack application using Prisma for database. When I run, npx prisma db push that command stuck and does not complete My DATABASE_URL is using the Supabase transaction poller
🌐
YouTube
youtube.com › watch
Solving the prisma db push Stuck Issue in Your PlanetScale GitHub Workflow - YouTube
Discover how to fix the `pscale connect` command causing the `prisma db push` to get stuck in your PlanetScale GitHub workflow automation.---This video is ba...
Published   April 6, 2025
Views   12
🌐
GitHub
github.com › JavascriptMick › supanuxt-saas › issues › 22
Got stuck when running npx prisma db push · Issue #22 · JavascriptMick/supanuxt-saas
October 3, 2024 - Always got stuck when running npx prisma db push Following on this thread, it's recommend to use DIRECT_URL with port 5432 with some modification on code // prisma/schema.prisma datasource db { provider = "postgresql" url = env("DATABASE...
Author   JavascriptMick
🌐
Stack Overflow
stackoverflow.com › questions › 74342346 › why-is-prisma-db-push-hanging
postgresql - Why is `prisma db push` hanging? - Stack Overflow
prisma db push hangs and then returns Error: P1017 Server has closed the connection. and when I look at what it's doing, I see: SELECT query FROM pg_stat_activity WHERE usename='...'; ...
🌐
GitHub
github.com › prisma › prisma › issues › 28966
Not able to run migrate or push after update to prisma@7 · Issue #28966 · prisma/prisma
December 27, 2025 - Bug description Getting this error while running prisma migrate or push Loaded Prisma config from prisma.config.ts. Prisma schema loaded from prisma\schema. Datasource "db": PostgreSQL database "heart_sync_pg", schema "public" at "dpg-d5...
Author   prisma
🌐
Prisma
prisma.io › home › troubleshooting › troubleshooting › troubleshooting › troubleshooting
Troubleshooting | Prisma Documentation
Error: undefined: Database error Error querying the database: db error: ERROR: prepared statement "s0" already exists
🌐
GitHub
github.com › prisma › prisma › issues › 6926
`db push` / `migrate` is hiding the binary download process during `generate`, leading to confusion · Issue #6926 · prisma/prisma
May 4, 2021 - Bug description When you enable Napi and try npx prisma db push --preview-feature the process stuck running the generators. How to reproduce Enable Napi by adding previewFeatures = ["napi"] to your schema.prisma Run npx prisma db push --...
Author   prisma
🌐
GitHub
github.com › prisma › prisma › discussions › 23890
npx prisma db push error after migrating from Planetscale to Neon · prisma/prisma · Discussion #23890
So, fortunately, I tried npx prisma db pull and magically resolved this issue. It completely rewrites my Prisma schema file with relations from the previous data model as follows: ... It basically added maps to the correct relations from the previous data model. And this fixed the error when I do push now.
Author   prisma
🌐
Reddit
reddit.com › r/nextjs › stuck with prisma and supabase database update
r/nextjs on Reddit: stuck with prisma and supabase database update
June 15, 2024 -

Environment variables loaded from .env
It is almost 24h since i have been stuck in it using nextjs14

I tried to reset supabase server multiple times and recreater the server and clone the repo still i am stuck in the new repo as well

Prisma schema loaded from prisma/schema.prisma

Datasource "db": PostgreSQL database "postgres", schema "public" at "aws-0-eu-central-1.pooler.supabase.com:xxxx"

  prisma: 4.16,
  supabase: 1.165

At first i tho since i am in SEA maybe supabase banned i am trying using a VPN without luck as well i am not sure what is going on.

Thats all i could get from GPT as well is something weird going on or is just myself?

Seek Community Support