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

Fixed bug occurring when connection string specifies non-zero index and server requires authentication #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

seanmobrien
Copy link

When connecting to a server that requires authentication, the PrepareClientConnection method would throw an exception if the database index was greater than zero. Fixed by adding support for parsing password property from connection string and then using that property to authenticate when it is set. Also added IsAuthenticated flag, which is used to preserve authentication status when a pooled connection is re-used, avoiding a second call to AUTH.

@seanmobrien seanmobrien reopened this Aug 23, 2019
@asadcr
Copy link

asadcr commented Aug 28, 2020

Any chance we can merge this @andrew-bn ?

@chrisjwarnes
Copy link

can we merge this in? the library is not very useful for me if we can't handle authenticated servers

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.

3 participants