title: How to import database using MongoDB Compass?
body: <p>I'm trying to import data to my MongoDB Compass database and I get keep getting an error stating that  <code>&quot;/data/db/: is a directory.&quot;</code></p>
  <p>I'm using this mongoimport code provided by Mongodb:</p>
  <pre><code>mongoimport --uri mongodb+srv://tesalon_22:&lt;PASSWORD&gt;@myflixdb.gk5cp.mongodb.net/&lt;DATABASE&gt; --collection &lt;COLLECTION&gt; --type &lt;FILETYPE&gt; --file &lt;FILENAME&gt;
  </code></pre>
  <p>Any help is greatly appreciated.</p>