0
Q:

new Sequelize('featherstutorial', 'databaseUser', 'databasePassword'

const sequelize = new Sequelize('database', 'username', 'password', {
  dialect: 'sqlite',
  storage: 'path/to/database.sqlite' // or ':memory:'
  dialectOptions: {
    // Your sqlite3 options here
  }
});
1
var sequelize = new Sequelize('database', 'username', 'password', {
  host: "my.server.tld",
  port: 12345
})
0
var sequelize = new Sequelize('mysql://user:[email protected]:9821/dbname', {
  // Look to the next section for possible options
})
-1
var sequelize = new Sequelize('database', 'username'[, 'password'])
-2

New to Communities?

Join the community