Tell me please - what minimum set of privileges the user should to have to get access to the "mysql" database on the server.
For example to get ability to execute query:
select * from mysql.help_topic
Thanks!
|
Tell me please - what minimum set of privileges the user should to have to get access to the "mysql" database on the server. For example to get ability to execute query:
Thanks! |
|||
|
|
|
The very minimal permissions would be:
Do not believe this answer is sufficient. Please check the manual first, because the privilege system in MySQL is far from being obvious. |
|||||||||||
|
|
If you have phpmyadmin then while creating user you can give privileges by following
|
|||
|
|
|
You need to grant the "object" rights if you want to permit CRUD access. These are SELECT,INSERT,UPDATE, and DELETE. You may need to add EXECUTE and SHOW VIEW. Beyond that you are granting permission to change the schema. If all you want is select, just grant SELECT. here's the documentation: http://dev.mysql.com/doc/refman/5.5/en/privileges-provided.html |
|||
|
|