mysql: ERROR 1064 (42000): You have an error in your SQL syntax;
Issue
mysql> SHOW VARIABLES LIKE "%version%";
ERROR 1064 (42000): 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 '"%version%"' at line 1
Environment
-
Red Hat Enterprise Linux, All versions
-
MySqL 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.