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

feat: Support query parameter for MSSQL connection #1026

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

nehanene15
Copy link
Collaborator

Closes #1025

This supports user-provided query parameter for the MSSQL connection URL:
data-validation connections add -c mssqltest MSSQL --host 127.0.0.1 --port 1433 --user sqlserver --password passwrod --database guestbook --query '{"driver": "ODBC Driver 17 for SQL Server", "TrustServerCertificate": "yes", "authentication": "ActiveDirectoryIntegrated"}'

This also supports a user-provided connection URL:
data-validation connections add -c mssqltest MSSQL --url "mssql+pyodbc://user:[email protected]:1433/database?driver=ODBC+Driver+18+for+SQL+Server&TrustServerCertificate=yes&authentication=ActiveDirectoryIntegrated"

@nehanene15 nehanene15 requested a review from a team as a code owner October 30, 2023 19:20
@nehanene15
Copy link
Collaborator Author

/gcbrun

@nehanene15 nehanene15 merged commit 48b0355 into develop Nov 3, 2023
5 checks passed
@nehanene15 nehanene15 deleted the issue1025-mssql-auth branch November 3, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support NTLM auth for MSSQL connections
2 participants