Do I need to create multiple instances of Sequelize if I want to use two databases? That is, two databases on the same machine.
If not, what's the proper way to do this? It seems like overkill to have to connect twice to use two databases, to me.
So for example, I have different databases for different functions, for example, let's say I have customer data in one database, and statistical data in another.
So in MySQL:
MySQL [customers]> show databases;
+--------------------+
| Database |
+--------------------+
| customers |
| stats |
+--------------------+
And I have this to connect with sequelize
// Create a connection....
var Sequelize = require('sequelize');
var sequelize = new Sequelize('customers', 'my_user', &#