Prisma + Planetscale TLS/SLL error

I don't really know what is going on. I can do
npx prisma db push
npx prisma db push
but prisma.user.findUnique or .count or whatever still gives me this error. I looked everywhere. I have the ssl certificate appended to the end of the URL and still this doesn't work! It is probably a dumb error but yeah. I appreciate any help.
2 Replies
adomaitis
adomaitis2y ago
nvm solved it had .env file with the db url and .env.local with an empty db url. somehow the prisma was getting the right one to push and to use prisma studio but not for finding shit in the db
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server