title: mongodb shell login - password contains special characters like # and &
body: <p>I am trying to login to mongodb database using mongodb shell, and if the password contains any special characters like # or &amp; , the authentication fails.</p>
  
  <pre><code>mongo mongo.cloud.com:8888/database -u username -p a7IF@WV^#66!
  
  mongo mongo.cloud.com:8888/database -u username -p a7IF@WV^&amp;66!
  </code></pre>
  
  <p>Note: I am using windows command prompt.</p>