Conexión
robertoclunarc
TRIALOP
2 years ago
I try to connect from my app in Nodejs but it gives me a 401 error: "err": {
"code": "PROTOCOLSEQUENCETIMEOUT"}.
These are the data that I pass to mysql.createPool ({
host: 'viaduct.proxy.rlwy.net',
database: 'railway',
user: 'root',
password: 'OKfzHtPHGwWbPeAMlumddYbCPfbOMGmJ',
port: 36479,
connectionLimit: 10
})
Please help me resolve this issue
1 Replies
2 years ago
You just publicly posted the credentials to your database.
If you aren't already using mysql2 you need to be.