title: mysql general query log for a specific database or user?
body: <p>Is there a way to just log queries for a certain user or database? I know you can set the general log, but I don't want to log all queries across the entire MySQL instance. Rather I would like to only log queries against a specific database.</p>
  
  <pre><code>SET GLOBAL general_log = 'ON';
  </code></pre>
  
  <p>Is there a non GLOBAL parameter that can be set?</p>