Custom connection failing to connect to correct IP?

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’

It would be important for you to confirm that the IP address that you entered IS NOT associated with a private network (https://en.wikipedia.org/wiki/Private_network). The custom database scripts will be executed within the Auth0 service itself and any endpoint that they need to connect to needs to be reachable over the public internet and that would exclude any endpoint you have running locally under a private network.

The IP address is not a private network.