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

sqlserver: update test DSN string to be more flexible #264

Merged
merged 1 commit into from
May 30, 2017

Conversation

kardianos
Copy link
Collaborator

Support URL for test DSN, allows setting properties (such as
encryption).

Also fix URL query parameter parsing by forcing keys to lower case
that are expected.

Support URL for test DSN, allows setting properties (such as
encryption).

Also fix URL query parameter parsing by forcing keys to lower case
that are expected.

Add a failing test case for Azure Database to be fixed in a later commit.
@kardianos kardianos merged commit 6cd7648 into master May 30, 2017
@kardianos kardianos deleted the kardianos-azure-test branch September 24, 2017 00:12
odeke-em pushed a commit to orijtech/go-mssqldb that referenced this pull request Jul 26, 2020
…adme

Fill out MIGRATIONS.md with migration format and best practice notes
odeke-em pushed a commit to orijtech/go-mssqldb that referenced this pull request Jul 26, 2020
…ql (denisenkom#265)

* Fix in the URL parser with go 1.12.8 and github.com/go-sql-driver/mysql

Change schemeFromURL to just split the url by :// to find the scheme.
It's not required to parse the whole URL. MySQL DSNs aren't valid URLs.

Fixes denisenkom#264

* The mysql driver itself also used net/url.Parse

* Also fix TestPasswordUnencodedReservedURLChars

* Keep backwards compatibility with url encoded username and passwords

* Fix suggestions

* Reuse old function names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant