diff --git a/app.js b/app.js index 475d90e..ffcfc83 100644 --- a/app.js +++ b/app.js @@ -114,7 +114,7 @@ global.syzoj = { this.db = new Sequelize(this.config.db.database, this.config.db.username, this.config.db.password, { host: this.config.db.host, - dialect: 'mysql', + dialect: 'mariadb', logging: syzoj.production ? false : syzoj.log, timezone: require('moment')().format('Z'), operatorsAliases: operatorsAliases diff --git a/package.json b/package.json index e381222..8e9a076 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "moment": "^2.23.0", "msgpack-lite": "^0.1.26", "multer": "^1.2.0", - "mysql2": "^1.6.4", + "mariadb": "^2.0.2-rc", "node-7z": "^0.4.0", "nodemailer": "^4.7.0", "object-assign-deep": "^0.4.0",