here is the error details
{
"errorMessage": "Connection lost: The server closed the connection.",
"errorDescription": "sql: undefined, code: PROTOCOL_CONNECTION_LOST",
"errorDetails": {},
"n8nDetails": {
"nodeName": "MySQL",
"nodeType": "n8n-nodes-base.mySql",
"nodeVersion": 2.4,
"resource": "database",
"operation": "executeQuery",
"itemIndex": 0,
"time": "30/10/2024, 15:56:04",
"n8nVersion": "1.61.0 (Self Hosted)",
"binaryDataMode": "filesystem",
"stackTrace": [
"NodeOperationError: Connection lost: The server closed the connection.",
" at Object.parseMySqlError (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v2/helpers/utils.js:80:12)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v2/helpers/utils.js:189:47",
" at processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js:64:18)",
" at Object.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v2/actions/router.js:48:30)",
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/MySql/v2/MySqlV2.node.js:16:16)",
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:711:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1141:20"
]
}
}
( i can’t communicate the query since it’s confidential ) .
PS : We are running on a selfhosted instance and Before the latest update we did 1 month ago, it was working fine.