i'm trying to connect to my own database when using Auth0, however it doesn't appear to be using my IP address, as i'm getting this error:
ER_ACCESS_DENIED_ERROR: Access denied for user 'admin'@'pus3-a-ue2-1.outbound.auth0user.net'
However within my config I have got a different IP Address, obviously not put the IP below but it would be in this format:
function login(email, password, callback) {
const mysql = require('mysql');
const bcrypt = require('bcrypt');
const connection = mysql.createConnection({
host: '0.0.0.0',
user: 'user',
password: 'password',
database: 'database'
});
So if it failed to connect shouldn't the error be:
ER_ACCESS_DENIED_ERROR: Access denied for user 'admin'@'0.0.0.0'
question from:
https://stackoverflow.com/questions/65886421/auth0-custom-connection-failing-to-connect-to-correct-ip 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…