MariaDB

Library for MariaDB is mariadb.

  1. const sequelize = new Sequelize('database', 'username', 'password', {
  2. dialect: 'mariadb',
  3. dialectOptions: {connectTimeout: 1000} // mariadb connector option
  4. })

or using connection String:

  1. const sequelize = new Sequelize('mariadb://user:password@example.com:9821/database')