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

MSSQL connection with trustServerCertificate config fails to set value as boolean #3086

Closed
cwisdo opened this issue Aug 28, 2024 · 0 comments · Fixed by #3087
Closed

MSSQL connection with trustServerCertificate config fails to set value as boolean #3086

cwisdo opened this issue Aug 28, 2024 · 0 comments · Fixed by #3087
Labels
bug Something isn't working

Comments

@cwisdo
Copy link
Contributor

cwisdo commented Aug 28, 2024

Found a bug? Please fill out the sections below. 👍

Issue Summary

When attempting to establish an MSSQL connection which explicitly sets trustServerCertificate the configuration value is defaulted to a string (i.e., "True") instead of the required boolean value which results in an error when attempting to connect.

Steps to Reproduce

  1. When using mssql database, set the database url: " ... encrypt=true;trustServerCertificate=True;"
  2. Connection attempt will fail
  • error connecting to engine: sql, type: mssql db: TypeError: The "config.options.trustServerCertificate" property must be of type boolean.

Technical details

@cwisdo cwisdo added the bug Something isn't working label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant