Skip to content

fix: fixes dsn connection strings by url encoding #1397

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

Merged
merged 2 commits into from
Jan 8, 2018

Conversation

StevePorter92
Copy link
Contributor

@StevePorter92 StevePorter92 commented Jan 5, 2018

https://docs.mongodb.com/manual/reference/connection-string/

When connecting using unix sockets, mongo is expecting a url encoded connection string.

It might be better to add unix_socket as a config parameter similar to laravels MySQL connector?

part of #1396

@jenssegers jenssegers merged commit da9f4a1 into mongodb:master Jan 8, 2018
@StevePorter92 StevePorter92 deleted the 1396 branch September 9, 2018 07:32
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
fix: fixes dsn connection strings by url encoding
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.

2 participants