title: Mongoexport "ERROR PARSING URI" error - MONGODB
body: <p>Facing below error while executing mongoexport command.Connection string below.</p>
  <p>MongoDB shell version v4.2.0 <br/>
  OS - Mac OS Catalina</p>
  <pre><code>mongoexport --uri=&quot;mongodb+srv://m001-student:m001-****@sandbox.*****.mongodb.net/sample_supplies&quot; --collection=sales --out=sales.json
  </code></pre>
  <p>Error:</p>
  <pre><code>2021-01-14T20:27:59.584+0000    error parsing command line options: error parsing uri: lookup _mongodb._tcp.sandbox.*****.mongodb.net on 192.#.#.#:#:# no such host &lt;br/&gt;
  
  
  2021-01-14T20:27:59.585+0000    try 'mongoexport --help' for more information
  </code></pre>
  <p>I have provided <em><strong>ACCESS FROM ANYWHERE</strong></em> IP details in network access tab too. In that case, there should not be any issues while connecting. I have installed home-brew in my MacOS and installed mongodb database tools, since my terminal didn't recognise mongoexport command initially.  Please let me know if I'm missing any detail in connection string.</p>