mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.52k stars 306 forks source link

Cant connect to planetscale DB #1404

Open BennyAlex opened 5 days ago

BennyAlex commented 5 days ago

I cant connect to planetscale DB. I check the use SSL box but I still seeing "database requires SSL" error.

Do I have to manually insert all the cert paths? I cant even find something like a private server key for planetscale...

Other tools also can connect out of the box.

I am using windows.

gjsjohnmurray commented 5 days ago

I am not familiar with planetscale. Which SQLTools driver are you using?

BennyAlex commented 5 days ago

mysql. I have a bug there even if I am seleting a certificate (but nothing else) it will have the connection setup the enableSsl will be disabled. image

When I set it to True or Enabled it will get the error from above.

Also the connectionTimeout is empty by default but is a required value

BennyAlex commented 5 days ago

When ssl is disabled but I use a connection string and add this to the end I can connect

?ssl={"rejectUnauthorized":false}&sslaccept=strict