title: How to restrict user bandwidth, storage and access per user in mysql
body: <p>I needs to limit access for mysql database access per user based. So the requirements are like below. </p>
  
  <ol>
  <li>User can have a dedicated storage in MySQL instance and he can't exceed it. </li>
  <li>Limit user access for some time duration in the day</li>
  <li>Limit number of read write update queries per hour per user</li>
  <li>Limit bandwidth per user. </li>
  </ol>
  
  <p>How can I achieve this in a MySQL server?</p>