Hey again.
I checked out Ngrok and after trying different things I got this from a connection which should make the local database publicly accessible from what I understand:
tcp://0.tcp.eu.ngrok.io:11910
The problem is that when I use this in my script:
const connection = mysql.createConnection({
host: configuration.MYSQL_HOST,
user: 'root',
password: configuration.MYSQL_PASSWORD,
port: '11910',
database: 'shop-db'
});
and the host is set to “0.tcp.eu.ngrok.io”, it throws an error “ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client”.
Are you familiar with Ngrok and what I should actually do to be able to access the endpoint from Auth0? Thanks.