Created
February 4, 2014 14:25
Create DB backup user. Taken from http://blog.roozbehk.com/post/25580691418/mysql-user-to-backup-databases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE USER 'dbbackup'@'localhost' IDENTIFIED BY '***'; | |
GRANT SELECT , | |
RELOAD , | |
FILE , | |
SUPER , | |
LOCK TABLES , | |
SHOW VIEW ON * . * TO 'dbbackup'@'localhost' IDENTIFIED BY '***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment