title: MySQL with Sequelize: ER_BAD_DB_ERROR: Unknown database
body: <p>I am following a tutorial and below is the code:</p>
  
  <pre><code>var Sequelize = require('sequelize')
  var sequelize = new Sequelize('basic-mysql-database.mysql', 'root', 'password', {
      'dialect': 'mysql',
      'host': "localhost",
      "port": "3306"
  });
  
  var Todo = sequelize.define('todo', {
      description: {
          type: Sequelize.STRING
      },
      completed: {
          type: Sequelize.BOOLEAN
  
      }
  })
  
  sequelize.sync().then(function(){
      console.log('Everything is synced')
  
      Todo.create({
          description: 'Walking my dog',
          completed: false
      }).then(function (todo){
          console.log('Finished!')
          console.log(todo)
      })
  });
  </code></pre>
  
  <p>I have installed MySQL.  When I go into <code>Settings</code> > <code>MySQL</code> and it says <code>MySQL Server instance is running</code> </p>
  
  <p>When I run <code>node testDB.js</code> I get the following error:</p>
  
  <pre><code>Unhandled rejection SequelizeConnectionError: ER_BAD_DB_ERROR: Unknown database 'basic-mysql-database.mysql'
      at Handshake._callback (/Users/Kausi/Documents/Development/todo-api/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:63:20)
      at Handshake.Sequence.end (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/protocol/sequences/Sequence.js:85:24)
      at Handshake.ErrorPacket (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/protocol/sequences/Handshake.js:105:8)
      at Protocol._parsePacket (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/protocol/Protocol.js:280:23)
      at Parser.write (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/protocol/Parser.js:74:12)
      at Protocol.write (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/protocol/Protocol.js:39:16)
      at Socket.&lt;anonymous&gt; (/Users/Kausi/Documents/Development/todo-api/node_modules/mysql/lib/Connection.js:109:28)
      at emitOne (events.js:77:13)
      at Socket.emit (events.js:169:7)
      at readableAddChunk (_stream_readable.js:153:18)
      at Socket.Readable.push (_stream_readable.js:111:10)
      at TCP.onread (net.js:536:20)
  </code></pre>
  
  <p>I have never created any schema/table.  I do have MySQL Workbench that I can create the schema and 'Todo' table with; however, I was under the impression that <code>Sequelize</code> does this on the fly?  What am I doing wrong?</p>