title: See / change local username and password for MongoDB?
body: <p>Ive downloaded a project using MongoDB and im having trouble getting set up. From the terminal where ive run <code>mongod</code> I see this error:</p>
  
  <pre><code>2017-05-26T14:51:22.908+0800 I ACCESS   [conn21] SCRAM-SHA-1 authentication failed for user on wesbostest from client 127.0.0.1:51653 ; UserNotFound: Could not find user user@wesbostest
  </code></pre>
  
  <p>From my <code>npm start</code> terminal mongoose logs out this error: <code>Authentication failed.</code></p>
  
  <p>My environment file has this line: </p>
  
  <pre><code>DATABASE=mongodb://user:pass@localhost:27017/wesbostest
  </code></pre>
  
  <p>Ive got MongoDB Compass installed. It successfully connects with these settings:</p>
  
  <pre><code>Hostname: localhost
  Port: 27017
  Authentication: None
  SSL: Off
  SSH Tunnel: Off
  </code></pre>
  
  <p>So I think the <code>user:pass</code> part of the environment file is wrong? How can I see what local username and password are and/or set them if no authentication is set up? </p>