-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
proxysql version is 1.3.9.
node.js version is 8.9.1
Node.js can directly connect mysql but can't connect mysql per proxysql. And we are using Sequelize as ORM framework.
Code :
const Sequelize = require('sequelize');
const sequelize = new Sequelize('mysql://*****@localhost:6033/test');
sequelize
.authenticate()
.then(() => {
console.log('Connection has been established successfully.');
})
.catch(err => {
console.error('Unable to connect to the database:', err);
});
The return information is try{} catch{} try{} catch{}……
If proxysql provide driver for node.js
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels