Connection lost mysql

I am not able to connect to my mysql database.

Tunnel URL: https://85l...s3u.hooks.n8n.cloud/

IMPORTANT! Do not share with anybody as it would give people access to your n8n instance!
n8n ready on 0.0.0.0, port 5678
Version: 0.201.0

Editor is now accessible via:
http://localhost:5678/
Attempt to read execution was blocked due to insufficient permissions
Attempt to read execution was blocked due to insufficient permissions
Ignoring invalid configuration option passed to Connection: ownedBy. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection
There was an error shutting down n8n. Error: connect ECONNREFUSED 172.21.0.2:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '172.21.0.2',
  port: 5432

Hi @Rodrigo_Damasceno_de, welcome to the community :tada:

I’ve redacted your tunnel URL for privacy reasons as suggested in the output (IMPORTANT! Do not share with anybody as it would give people access to your n8n instance!).

As for the error itself, I am very sorry to hear you’re having trouble. Are you perhaps using the wrong connection details here? 5432 would be the standard Postgres port, MySQL would usually listen on port 3306 (unless you have changed the default).

Problem solved was the port that was not released in the cloud firewall.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.