© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
6mo ago
•
2 replies
Freaky Easst
How to fix Error: P1017: Server has closed the connection. supabase
I have just installed prisma
, then i coded this
:
generator client
{
provider
=
"prisma
-client
-js
"
output
=
"
.
.
/src
/generated
/prisma
"
}
datasource db
{
provider
=
"postgresql
"
url
= env
(
"DATABASE
_URL
"
)
}
model User
{
id Int
@id
@default
(autoincrement
(
)
)
telegramId String
@unique
promoCode String
@unique
}
after
npx prisma migrate dev
npx prisma migrate dev
I got that error Error
: P1017
: Server has closed the connection
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
PrismaClientKnownRequestError: Server has closed the connection
S
Supabase / help-and-questions
3y ago
server closed the connection unexpectedly
S
Supabase / help-and-questions
13mo ago
Supabase Error connection
S
Supabase / help-and-questions
8mo ago
Hyperdrive Connection Failing with Error Code 2015 - "Server returned error and closed connection"
S
Supabase / help-and-questions
4mo ago