Original issue title and description:
Authentication fails with Unix domain socket in URI
When using unix domain sockets user credentials in connection string is throwing AuthenticationException (e.g. mongodb://user:pass@/tmp/mongodb.sock/dbname). Without "user:pass@" it's working. Switching to an IP with user authentication is working.
- is related to
-
DOCS-9382 Show URL-escaped domain socket path in URI example
- Closed
- related to
-
CDRIVER-1928 "Unknown command error" from authentication and misformatted domain socket URI
- Closed
-
CDRIVER-1929 mongoc_uri_parse_database() may overlap with URI host component
- Closed
-
DOCS-9266 Unix domain socket paths must be URL-encoded in connection URIs
- Closed
-
PHPC-826 Document that socket paths must be URL-encoded
- Closed