Error when running `drizzle-kit push:mysql` to a Planetscale database
so after reading through the Doc's it looks like i need an SSL cert to run the push however i'm not sure how to configure that with drizzle and from what i've sceen from others they are doing it an easier way.
This is the error I get when running
drizzle-kit push:mysql
:
This is my config:
Does anyone know how i an connect to Planetscale with the latest version drizzle?6 Replies
does your connection url ends with
ssl={"rejectUnauthorized":true}
?
something like
mysql://[[USERNAME]]:[[PASSWORD]]@aws.connect.psdb.cloud/[[DB]]?ssl={"rejectUnauthorized":true}
i have this at the end of my url
?sslaccept=strict
i tried removing that but i am still getting the same errordoes it end with the ssl thing?
What do you mean?
change from
?sslaccept=strict
to
?ssl={"rejectUnauthorized":true}
that worked thank you