I started a next js project using create-t3-app and setup planetscale with prisma. I then copied my database URL into .env and run pnpm prisma studio
. However, I run into an error that states:
Message: Error in Prisma Client request:
Invalid `prisma.example.count()` invocation:
Can't reach database server at `aws.connect.psdb.cloud`:`3306`
Please make sure your database server is running at `aws.connect.psdb.cloud`:`3306`.
I have added the parameters required for prisma connection strings as found here but the problem remains.
Does anyone know how to fix this? And does anyone know how to use planetscale in WSL?