The MySQL agent requires a MySQL Server user account that has sufficient privileges for the software to:
-
Perform backups and restores
-
Access the MySQL Server application
-
Stop or start the MySQL Server services
The following table illustrates the necessary privileges the user account should have to perform backup and restore operations:
|
Operations |
Privileges MySQL User Should Have |
Example Query to Grant the Permission |
|
Backup |
|
It is recommended to grant all Database Administrator privileges to perform backup operations for some versions. Example: For MySQL 5.7 and later, you should grant all Database Administrator privileges to perform backup operations. |
|
Restore |
Full Database Administrator privileges |
|
Initially, the user account credentials is provided during the instance configuration after the installation of the Agent. You can change the user account at the instance level.