Tuesday, October 2, 2012

MySQL grant permission

It is needed to grant permission in MySQL server for users of the database. Below MySQL commands can be used to grant permissions.

  1. grant all privileges on database.* to 'sujith'@'localhost';
  2. flush privileges;
Refer MySQL documentation for more details.