db push connection error

getting the following error on my first db push attempt
Ignoring invalid configuration option passed to Connection: sslaccept. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection
/home/kelby/work/jobs_fe/node_modules/drizzle-kit/index.js:43680
const createConnectionErr = new Error();
^

Error: unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS
Ignoring invalid configuration option passed to Connection: sslaccept. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection
/home/kelby/work/jobs_fe/node_modules/drizzle-kit/index.js:43680
const createConnectionErr = new Error();
^

Error: unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS
How do I make the db connection secure? Is that a drizzle option or a @planetscale/database option? Or maybe my connection string is wrong?
2 Replies
Andrii Sherman
Andrii Sherman16mo ago
https://discord.com/channels/1043890932593987624/1090228053273235507 You can check solution here PlanetScale does not allow connection strings without ssl
kelbs
kelbs16mo ago
yup that worked, thanks! sorry, usually I search first but this time I forgot
Want results from more Discord servers?
Add your server
More Posts