MySQL SSL connection in SQL Agent

I’m getting a ETIMEDOUT error when connecting MySQL to the SQL AI Agent. I use SSH for the secure connection. The connection works fine with MySQL nodes, but just doesn’t work with the SQL AI Agent. I’ve tried increase the timeout limit, but not luck in mudville. Has anyone else had this problem, or know what the fix is for something like this?

n8n version

1.75.3 (Cloud)

Stack trace

Error: connect ETIMEDOUT at PoolConnection._handleTimeoutError (/usr/local/lib/node_modules/n8n/node_modules/mysql2/lib/connection.js:205:17) at listOnTimeout (node:internal/timers:581:17) at processTimers (node:internal/timers:519:7)

Information on your n8n setup

  • 1.75.3 (Cloud)
  • **Database: MySQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • *Running n8n via: Cloud
  • **Operating system: Windows

Hey @foose212

Tools Agent is going to be the only one left.
Other agents are being deprecated.

Try using a tools Agent connected to a tool that will query your database.

That should work!

:point_right: If my reply answers your question, please remember to mark it as the solution.

1 Like

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