Couldn’t connect with these settings connect ECONNREFUSED 127.0.0.1:3306

Couldn’t connect with these settings

Retry

connect ECONNREFUSED 127.0.0.1:3306

1 Like

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:

Hey @Elys_Razafindrakoto,

Welcome to the community :cake:

You have not included any details that we can use to help you, However as a starting point I will assume you are running n8n in a docker container and trying to connect to your database.

Using 127.0.0.1 won’t work as it is local to the machine you are running so you would instead need to use the the IP of the database server or if using the default docker networks you can use 172.17.0.1 as the IP and see if that works.

1 Like

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