title: MySQL Grant for more than one database
body: <p>I'm trying to set the privileges for two databases at once. I know it is possible to assign them in two statements. Is there a way to do it in one?</p>
  
  <p>I tried</p>
  
  <pre><code>GRANT ALL PRIVILEGES 
         ON mydb1.*, mydb2.*
         TO 'reader'@'localhost'
         IDENTIFIED BY 'mypassword';
  </code></pre>
  
  <p>But it only seems to work for one database.</p>