Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySql requiring self-signed cert when enableSsl is disabled/false #1270

Closed
Fludem opened this issue Jan 1, 2024 · 0 comments · Fixed by #1271
Closed

MySql requiring self-signed cert when enableSsl is disabled/false #1270

Fludem opened this issue Jan 1, 2024 · 0 comments · Fixed by #1271
Labels
bug mysql MySQL / MariaDB driver

Comments

@Fludem
Copy link
Contributor

Fludem commented Jan 1, 2024

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:

  1. Create Connection
  2. Select MySql
  3. Fill out valid details and tick enablessl
  4. Save and try connect
  5. See Failure
  6. Disable SSL and Save
  7. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mysql MySQL / MariaDB driver
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants