MySQL: How to grant permission to a database for a particular user.
- Login to mysql
- grant select, insert, update, delete, create, drop, create routine , index, alter, create temporary tables, lock tables on db_name.* to user_name@localhost identified by 'password';
- Thats it. Your user now has the permission to access the database.
Comments
Post a Comment