title: Programmatically Check MySQL's Option Values (key_buffer_size, innodb_buffer_pool_size, etc.)
body: <p>Is it possible to programmatically (via. the SQL interface, a CLI tool, etc) check the values of options that are normally set in a MySQL server's <code>my.cnf</code> file?</p>
  
  <p>I have a suspicion that the server I'm using is reading the incorrect configuration file, and I'd like to be able to check what the values are actually set to. </p>