Error: connect ETIMEDOUT
at Object.createConnection (/usr/local/lib/node_modules/n8n/node_modules/mysql2/promise.js:242:31)
at createConnection (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v1/GenericFunctions.js:37:30)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v1/MySqlV1.node.js:254:74)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:653:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:592:53
A timeout is a timeout, for some reason the connection or query is not completing. If it was all working then it stopped the first thing I would check is what has changed? Was n8n upgraded? Was the database upgraded? Did the database server get restarted? Is this happening for all queries or just larger ones?
Sadly ETIMEDOUT is normally network issue so it could be that n8n isn’t sending a message or getting one back, Typically though I wouldn’t expect something like this to just start happening so I suspect there may have been a change that no one thinks is relevant.
How do you have n8n deployed at the moment and what version are you using? When you ran MySQL Workbench was it from the same machine (or container) running n8n?