MySQL not outputting actual data

I am running the MySQL but it just outputs “success” and not the actual result of the query. What am I doing wrong?

Please see image below

Thanks

When i dont include a “variable” then it works fine, see below
Screenshot 2023-07-27 at 23.28.35

Hi @JakeS :wave: Welcome to the community :tada:

Do you have an example workflow you could share that has test data that wouldn’t require any outside credentials for testing? Essentially we’d need some test data that replicates this case. If you could provide test data in JSON format, that works too!

Can you also fill out the following:

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@EmeraldHerald I fixed the issue, basically the query was returning 0 results but it wasn’t clear in the UI as it just said Success. Would be good to see how many results are returned, that would have helped avoid confusion on what the message meant

2 Likes

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