MySQL
In order to get Sequelize working nicely together with MySQL, you'll need to installmysql2@^1.5.2
or higher. Once that's done you can use it like this:
const sequelize = new Sequelize('database', 'username', 'password', {
dialect: 'mysql'
})
Note: You can pass options directly to dialect library by setting thedialectOptions
parameter.