title: MongoDB and Robomongo: Can't connect (authentication)
body: <p>I have the following user:</p>
  <pre><code>{
      &quot;_id&quot; : &quot;admin.root&quot;,
      &quot;user&quot; : &quot;root&quot;,
      &quot;db&quot; : &quot;admin&quot;,
      &quot;roles&quot; : [
          {
              &quot;role&quot; : &quot;root&quot;,
              &quot;db&quot; : &quot;admin&quot;
          }
      ]
  }
  </code></pre>
  <p>And for my database:</p>
  <pre><code>{
      &quot;_id&quot; : &quot;mydb.mydbDbOwner&quot;,
      &quot;user&quot; : &quot;mydbDbOwner&quot;,
      &quot;db&quot; : &quot;mydb&quot;,
      &quot;roles&quot; : [
          {
              &quot;role&quot; : &quot;dbOwner&quot;,
              &quot;db&quot; : &quot;mydb&quot;
          }
      ]
  }
  </code></pre>
  <p>I can't connect via Robomongo on localhost:</p>
  <p><img src="https://i.stack.imgur.com/jjNA9.png" alt="Enter image description here" /></p>
  <p>The same goes for...</p>
  <pre class="lang-none prettyprint-override"><code>Database: mydb
  User Name: root
  
  Database: mydb
  User Name: mydbDbOwner
  </code></pre>
  <p>How can I fix this problem?</p>