Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to use a script to monitor the replication status of a MySQL database like in this bash script:

I'd like to create a user which will only be used to query the status of the replication. So basically this user would just need to run the command:


What is the minimum set of permissions I need to grant a user to allow this?

(Is this even something which can be GRANTed?

share|improve this question
up vote 6 down vote accepted

According to the MySQL Documentation on SHOW SLAVE STATUS\G

Either SUPER or REPLICATION CLIENT should do it. I would go with the minimum:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.