title: Create new user in mysql with access to only certain databases
body: <p>Dont know if this is possible.</p>
  
  <p>I need to create a new mysql user with access to only databases with database name with prefix say <strong>user_db_</strong>.</p>
  
  <p>I have a php application in which when a new user is added it creates a database <strong>user_db_</strong>'userid'. Suppose three users are created such that their databases are <strong>user_db_1</strong>, <strong>user_db_2</strong>, <strong>user_db_3</strong>.  </p>
  
  <p>I need to create a new user say <strong>user_accounts</strong> which has access to only <strong>user_db_1</strong>, <strong>user_db_2</strong>, <strong>user_db_3</strong>,..........,<strong>user_db_n</strong>.</p>