title: How to grant replication privilege to a database in mysql?
body: <p>I need to create a user with replication slave permission for each database?</p>
  
  <p>When I use de command "GRANT replication slave ON <code>mydb</code>.* TO 'user';" the error "Incorrect usage of DB GRANT and GLOBAL PRIVILEGES" is shown.</p>
  
  <p>Is there a way to GRANT replication privilege to only a database?</p>