title: MySQL: Create user with rights only for specific db
body: <p>I would need to create MySQL user programatically with the privileges only for specific db. Say there are databases a,b,c and I would need to create user who has rights only for B. I am sure its possible but my googling was not successful.
  Thank you!</p>