Node MYSQL with SSH Tunnel Configuration

Describe the problem/error/question

I’m trying to use the MySQL node with the SSH tunnel option and a private key.

What is the error message (if any)?

When I hit save, it loads indefinitely.

When i try to create the same conection using SSH node it’s work fine.

I tested the credentials with MySQL Workbench and they work fine.

Information on your n8n setup

Local installed in a Linux, version 1.50.1

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • n8n version: 1.50.1
  • Database (default: SQLite): Yes
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system:

Hi Guys, i just saw that in the new version is missing this step in the credentials as you can see in the image …

I try to install a previsously version to found out what is different and in the version 1.2.2 we had this parameter to create a new credential and it’s working fine…

Can someone help me to fix this?

That old parameter was removed because it allowed only one tunnel at any time, preventing people from being able to run concurrent executions that used ssh tunnels.
The new version of the node tries to use a random available port instead.

I’ll check on Monday what the issue is. thanks for reporting the issue, and sorry for breaking your workflow. Hopefully it’s a quick fix and we can patch this on Monday :crossed_fingers:

Thanks for replying, let me know if you need any other information…

1 Like

Do you by any chance have the “Ignore SSL Issues” enabled? nevermind MySQL credentials do not have that option.

Can you please share a screenshot of the MySQL credential? that might help.

Can you please try using the docker image n8nio/n8n:fix-ssh-tunnel to see if this fixes the issue for you?

1 Like

I’m having some troubles to access my N8N right now … Anyway it is installed in a Linux Server, not in docker, but i try as soon as i can.

Thanks for your support

New version [email protected] got released which includes the GitHub PR 10148.

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