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’