title: how to grant all revoked privileges for admin
body: <p>i have accidentally revoked all privileges when i was logged in as admin in mysql. and now it says access denied for all operations. how to reset this? </p>
  
  <p>for example,
  grant all privileges on <em>.</em> to 'root'@'localhost' identified by 'VVVV';
  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)</p>