title: Mongo Atlas: Connection authentication failed with custom databases
body: <p>I am trying the Mongo Atlas Cloud. I create a cluster and i am trying a connection with the mongo shell: (same problem with mongo drivers)</p>
  
  <pre><code>mongo mongodb://***-cluster-shard-00-00-***.mongodb.net:27017,***-cluster-shard-00-01-***.mongodb.net:27017,***-cluster-shard-00-02-***.mongodb.net:27017/any_database?replicaSet=****-Cluster-shard-0 --ssl --username ***** --password *****
  </code></pre>
  
  <p>this is the connection string in the documentation. And this is the error:</p>
  
  <pre><code>MongoDB shell version: 3.2.7
  connecting to: mongodb://***-cluster-shard-00-00-***.mongodb.net:27017,***-cluster-shard-00-01-***.mongodb.net:27017,***-cluster-shard-00-02-***.mongodb.net:27017/any_database?replicaSet=***-Cluster-shard-0
  2016-07-07T01:31:17.535-0300 I NETWORK  [thread1] Starting new replica set monitor for ***-Cluster-shard-0/***-cluster-shard-00-00-***.mongodb.net:27017,***-cluster-shard-00-01-***.mongodb.net:27017,***-cluster-shard-00-02-***.mongodb.net:27017
  2016-07-07T01:31:17.535-0300 I NETWORK  [ReplicaSetMonitorWatcher] starting
  2016-07-07T01:31:20.084-0300 E QUERY    [thread1] Error: Authentication failed. :
  DB.prototype._authOrThrow@src/mongo/shell/db.js:1441:20
  @(auth):6:1
  @(auth):1:2
  
  exception: login failed
  </code></pre>
  
  <p>I can connect to the database only when i use admin database "/admin?" in the connection string. </p>
  
  <p>THE PROBLEM:</p>
  
  <p>I need to connect to a custom database with the console or mongo drivers.</p>
  
  <p>PD: i protect my data with "***"</p>