RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.
MIT License
756 stars 69 forks source link

SSL connection #36

Open schusovskoy opened 1 year ago

schusovskoy commented 1 year ago

Hello! What can I do, if I need to connect to MySQL DB using SSL cert?

Upvote & Fund

Fund with Polar

rvlzzr commented 1 year ago

Add ?ssl={} to the end of your DATABASE_URL.

igalklebanov commented 1 year ago

Hey 👋

This might be blocking PlanetScale consumers from using this awesome (❤️) library. 😢

edit:

Works for me with ?ssl={"rejectUnauthorized":true} in the url.

thelinuxlich commented 11 months ago

Still can't connect with a Google Cloud Mysql instance