-
Hey! I want to use a dev database locally but when I run e.g. the The I basically followed this tutorial (without the Next.js & Netlify part. I've read something about sslcert errors and the very generic error message but I'm not sure if I'm missing something here? Do I need to set up some additional things like ssl configurations or do I need to install mysql (running on Mac)? Prisma schema: generator client {
provider = "prisma-client-js"
previewFeatures = ["referentialIntegrity"]
}
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
referentialIntegrity = "prisma"
}
model User {
id Int @id @default(autoincrement())
email String
} .env file:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 18 replies
-
Okay, after a restart it works somehow. Maybe it needed that after installing the cli and the mysql client. |
Beta Was this translation helpful? Give feedback.
-
hi , i have the same problem , using mac and running |
Beta Was this translation helpful? Give feedback.
-
In my case, on the terminal session, logging into planetscale using |
Beta Was this translation helpful? Give feedback.
-
In my case I missed a step: In a separate terminal, run the following command: After that it works |
Beta Was this translation helpful? Give feedback.
hi , i have the same problem , using mac and running
pscale connect XXX dev --port 3309
&pscale connect XXX shadow --port 3310
i can connect to it with
mysql
command line client, but with prisma it never worked even after upgrading psacle to 0.87.0do you have an idea why this would happen?