Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

'Authentication Database' is ignored when using connection string #227

Open
endertunc opened this issue Oct 15, 2020 · 0 comments
Open

'Authentication Database' is ignored when using connection string #227

endertunc opened this issue Oct 15, 2020 · 0 comments

Comments

@endertunc
Copy link

Current Behavior

I have connection string to connect mongodb cluster with basic auth and authentication database which I tested with mongo (cli) and Studio 3T that works.

I found that authentication database part in connection string is ignored and I was keep getting auth failed error.

This is the page where I found the connection string specs: https://docs.mongodb.com/manual/reference/connection-string/

Giving connection string mongodb://username:password@mongodb0.example.com:27017/authentication_database what I experienced is that authentication_database part is ignored in paste connection string screen.

Expected Behavior/Code

Given connection string with basic auth and authentication database, mongodb-compass should connect successfully.

Environment

  • Centos 7
  • mongodb-compass 1.22.1

Possible Solution

Use Fill in connection fields individually screen and make sure to fill Authentication Database field.

@endertunc endertunc changed the title Authentication Database` is ignored when using connection string 'Authentication Database' is ignored when using connection string Oct 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant