Preparing Password File for MySQL Processing

You can use MySQL account credentials that are stored in the password file to connect Veeam Agent for Linux to the MySQL database system.

Preparing Password File for MySQL Processing NOTE

Consider the following:

  • If you specify a custom path to the password file, specify a full path. Specifying relative paths is not supported.
  • The password file can also contain user-specific connection settings that Veeam Agent will apply to connect to the MySQL database system. For example, if you want to connect to the MySQL database system using the custom socket, specify the socket path in the password file. To learn more, see MySQL documentation.

If you want to use a password file for authentication, create a file. By default, Veeam Agent expects the password file to have the .my.cnf name and to be in the home directory of the root user. If the password file has a custom name or is stored in another directory, you can specify a custom path.

The password file must have the following contents:

[client]

user=<username>

password=<password>

where:

  • <username> — name of the account that Veeam Agent will use to connect to the MySQL database system.
  • <password> — password of the account that Veeam Agent will use to connect to the MySQL database system.

For example:

[client]

user=root

password=P@ssw0rd

 

Page updated 1/23/2024

Page content applies to build 6.3.0.73