I want to do a SQL query from shell script but I get an issue.
From phpMyAdmin interface, the sql query works fine (see screen shot attached).
But when I launch it from shell script, sql query retreive this error message :
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key = 'superuserslist'' at line 1
See attached TXT file for query build into the script.
Do you have an idea why?
Thanks
laurent