How do I create a Mariadb connection

Hi @beepupa, welcome to the community :tada:

Do you want to use Mariadb as a backend for n8n? If so, you can find the respective settings here in our docs.

If you just want to connect to a Mariadb instance from your n8n workflows, you could use the MySQL node for this.

Hello, thank you for answering my question, I want n8N work to connect to Mariadb, I tried to use MySQL node, but the connection failed

Hey @beepupa,

What error did you get?

I had the same problem when using MySQL tool to connect to Mariadb database listening on localhost:3306 (running in a docker container). I could solve this by using the IP address of my machine as the hostname.

2 Likes