MySQL Processing Settings
You can specify how Veeam Agent for Linux must process a MySQL database.
Before you start, make sure that application-aware processing is enabled at the Guest Processing step of the wizard and that Require successful processing or Try application processing, but ignore failures is selected on the General tab. For more information, see Application-Aware Processing.
MySQL tables that use non-transactional storage engines, such as MyISAM, MEMORY, ARCHIVE or CSV, must be locked while Veeam Agent creates the system snapshot. InnoDB tables are transactional and are captured consistently by the snapshot. Veeam Agent does not lock InnoDB tables by default. To detect and lock non-InnoDB tables, the MySQL account used by Veeam Agent must have the following privileges:
- SELECT — required to read table metadata and detect non-InnoDB tables. Grant this privilege on every database that contains such tables. If the account lacks SELECT on a database, Veeam Agent cannot detect or lock its non-InnoDB tables. Processing completes successfully, but these tables may be captured in an inconsistent state.
- LOCK TABLES — required to lock detected non-InnoDB tables. Grant this privilege on every database that contains such tables. If the account can detect a table but cannot lock it, MySQL database system processing fails. If successful application processing is not required, processing completes with a warning and the tables remain unlocked.
- FLUSH_TABLES or RELOAD — required to run the FLUSH TABLES ... WITH READ LOCK statement. Grant this privilege instance-wide, ON *.*. If non-InnoDB tables are detected but the account has neither privilege, locking fails and MySQL database system processing fails. If successful application processing is not required, processing completes with a warning and the tables remain unlocked. FLUSH_TABLES is available in MySQL 8.0.23 and later. For earlier MySQL versions and MariaDB, use RELOAD.
To obtain information about the privileges that are assigned to an account, use MySQL functionality — for example, the SHOW GRANTS statement. To learn more, see MySQL documentation.
For information on how Veeam Agent for Linux processes the MySQL database system, see the MySQL Backup section in the Veeam Agent for Linux User Guide.
On the MySQL tab, you can specify the following settings:
- MySQL account with superuser privileges — a user account that Veeam Agent for Linux uses to connect to the MySQL database. By default, the User from password file option is selected. With this option selected, Veeam Agent for Linux connects to the MySQL database under the account specified in the password file on the Veeam Agent computer. The default location for the password file is /root/.my.cnf. For information about the password file format, see the Preparing Password File for MySQL Processing section in the Veeam Agent for Linux User Guide.
- Path to password file — a custom full path to the password file. Specifying relative paths is not supported.
|
Tabs |
|---|
|
Web UI |
|
To specify the MySQL processing settings:
|
|
Console |
|
To specify the MySQL processing settings:
|

