sequelize uses user other than default to connect to postgres code example
Example: sequelize mariadb example
const sequelize = new Sequelize('database', 'username', 'password', {
dialect: 'mariadb',
dialectOptions: {
// Your mariadb options here
// connectTimeout: 1000
}
});