title: Error while creating a database in mongodb (not a valid database name in mongo.js)
body: <p>I am trying to create a database in mongo db using command <code>use db shorten</code></p>
  
  <p>when i run the mongod instance it outputs this
  <img src="https://i.stack.imgur.com/ffZ9q.png" alt="Mongod instance"></p>
  
  <p>but when try to run mongo in the separate terminal it gives error creating a database</p>
  
  <p><img src="https://i.stack.imgur.com/6gwwv.png" alt="enter image description here"></p>
  
  <p>the data/db permissions are set to 755 and i couldn't find anything related to it</p>