db2.config.js 393 字节
var  Sequelize = require('sequelize');
//数据配置
var sequelize = new Sequelize('saas_3m', 'test_read', "test_read7", {
   // var sequelize = new Sequelize('xuedianyun', 'root', "", {
    //host:'localhost', 
    host:'rds9vo3ja79e62m0433jo.mysql.rds.aliyuncs.com', 
    dialect: 'mysql',
    pool: {
        max: 10,
        min: 0,
        idle: 1000
    }
})

module.exports = sequelize