config.js 251 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 8 9 10 11 12 13 var Sequelize = require('sequelize'); //数据配置 var sequelize = new Sequelize('guest', 'root', "", { host:'localhost', dialect: 'mysql', pool: { max: 5, min: 0, idle: 30000 } }) module.exports = sequelize