Hey so the MySQL modules, are kind of weird for me, I am using Execute a query (advanced)
So I have a connection and at time when I create a query in the MySQL module it works fine but other times I get the below query
Failed to refresh metadata. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 4
So for example the below query give the above error
SELECT x
FROM db.sample
WHERE x = 1;
What is really weird is if I remove the WHERE it starts working. But then other queries have the WHERE and work fine, sometimes I get the above error when I have GROUP BY or ORDER BY, other times I don’t, It just seems random which queries work & don’t. Anyone else have issues with using the MySQL module and anyone find a fix or workaround?