Use multiple datastore connections with Sequelize
问题 I've defined 2 connections in the /config/connections.js file: monolithMysql: { user: 'store_app', database: 'store', dialect: 'mysql', options: { dialect: 'mysql', host: 'dockerhost', port: 3306, logging: console.log } }, postgres: { user: 'user_app', database: 'user_authentication', dialect: 'postgres', options: { dialect: 'postgres', host: 'dockerhost', port: 8201, logging: console.log } } and in the different models I've put the property connection , so that they're distinguished, as