title: Does mongoose.connect create a Mongo database by default if it doesn't exist?
body: <p>In my Mongoose script I write:</p>
  
  <pre><code>mongoose.connect('mongodb://localhost/mydb');
  </code></pre>
  
  <p>But currently there is no <code>mydb</code> database in Mongo.  Will this create <code>mydb</code>if it doesn't already exist?</p>