title: Mongoose.connect doesn't create database if not exist
body: <p>I'm new on NodeJs, I'm learning how to connect to mongodb using NodeJS with Mongoose library. As I know, when I connect to database with a name, if this database with that name doesn't exist, then mongoose will create it automatically, but it's not being created with me.
  Here is my code:</p>
  
  <pre><code>const mongoose = require("mongoose");
  
  mongoose.connect("mongodb://127.0.0.1:27017/mongo-test", {useNewUrlParser: true})
  .then(() =&gt; console.log("Connected"))
  .catch(err =&gt; console.log(err));
  </code></pre>
  
  <p>mongoose version: <code>^5.2.5</code></p>