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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
