MySql requiring self-signed cert when enableSsl is disabled/false
Fludem opened this issue · comments
Dylan Marriott commented
Describe the bug
If you save a MySql connection with SSL enabled it will create the ssl object.
Connection fails as passing empty object and can't find self signed cert.
Disabling Mysql afterwards doesn't remove the ssl object which causes connections to fail with same issue.
To Reproduce
Steps to reproduce the behavior:
- Create Connection
- Select MySql
- Fill out valid details and tick enablessl
- Save and try connect
- See Failure
- Disable SSL and Save
- See Failure
Expected behavior
Shouldn't pass empty object so connection succeeds.
Disabling SSL should remove the empty object
Connection should work
Desktop (please complete the following information):
- SQLTools Version [e.g. v0.28.1]
- VS Code Version: [e.g 1.85.1]
- Driver: MySql / Maria
Additional context
Add any other context about the problem here.