are 'SELECT' and 'LOCK' privileges enough for a 'mysql database user' to take a full database backup via SSH? I am able to take a backup using these privileges, but unsure if I am backing up all the files properly. So my question is, are these two privileges enough or does the user need more privileges in order to take a proper backup?
Mysql – What permissions do you need to take a thesql database backup via SSH
backupMySQL
Related Question
- MySQL workbench: Cannot Connect to Database Server (ssh)
- Mysql – Best way to backup thesql database
- SQL Server Backup – How to Backup Database by Copying MDF and LDF Files
- SQL Server Backup – What Happens When Two Processes Perform Full Backup
- Mysql – How to hot-backup thesql slave database with read operations
- Mysql – What are the minimal permissions required for the “Users and Privileges” tab in MySQL Workbench to function in MySQL 5.6
- MySQL – How to Take Backup from Another Server Using AutoMySQLBackup
Best Answer
Depending on the options you use with the dump you may need more (or less). The one you definitely need is SELECT.
For more info on the subject you can go to: http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html