Prisma Pool Timeout in prisma v7 #28962
QuestionI have a problem with my Prisma v7, initially I was told to add an adapter, then I added the MariaDB adapter and after adding it I got a pooltimeout error. Why is that? Can anyone explain? The error: "{ file schema: datasource db { How to reproduce (optional)Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)// Add your schema.prisma// Add any relevant Prisma Client queries here
|
Replies: 2 comments 4 replies
|
Hey @HamamPriyatmoko! Can you provide a minimal reproduction? Based on the snippets you have shared, in the schema.prisma file for Prisma 7 you don't need these configurations: and you can replace |
|
changing to I will execute P1013: The provided database string is invalid. invalid port number in database URL. Please refer to the documentation in https://pris.ly/d/config-url for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters. |
Hey @HamamPriyatmoko!
Can you provide a minimal reproduction?
Based on the snippets you have shared, in the schema.prisma file for Prisma 7 you don't need these configurations:
and you can replace
provider = "prisma-client-js"withprovider = "prisma-client".