View Single Post
Author Message
McSnaggit
Junior Member
Join Date: Feb 2019
Old 05-26-2023 , 06:25   Mysql Database SSL insecure connection
Reply With Quote #1

Hi all,

I have an issue with connection to my MySQL database. I'm hosting it on Planetscale. I've configured everything in databases.cfg and set a new database handle.

The problem is that I receive an insecure error: client must use SSL/TLS. When locally connecting to the database I use ssl: true or (ssl: {rejectUnauthorized: false}). I tried adding "ssl" "1" to the databases.cfg, but that didn't work.

Does anyone know if there is a possibility to add such configuration or if there's another solution?

Kind regards,
McSnaggit

Last edited by McSnaggit; 05-30-2023 at 03:02.
McSnaggit is offline