title: Is there a queryable table of the privileges supported by a MySQL server?
body: <p>I'm writing a program that needs to know what privileges a MySQL server supports. This differs between MySQL versions, so I would like to do something like <code>SELECT Privilege FROM PRIVILEGES</code> and get a table of privileges that my program can parse through. <code>SHOW PRIVILEGES</code> is similar to what I want except I can't do <code>SELECT</code> statements on the results. Is there any way I can get a table of all privileges supported by a MySQL version?</p>