Veritas NetBackup™ for MariaDB Administrator's Guide

Last Published:
Product(s): NetBackup (8.2)

Authenticating the password

Authenticating the password keeps you from specifying the password every time you run a backup. The (Windows) my.ini file and the (Linux) my.cnf file stores the password and the application picks the password every time you run a backup.

Authenticating the password

The agent reads the plaintext authentication credentials from the my.cnf file in Linux and my.ini file in Windows.

Prerequisites

Before you authenticate the password, you must meet the following prerequisites:

  • (Windows) Set the user environment variable MYSQL_HOME to point to my.ini file path.

  • (Linux) Include the Mariadb bin directory in $PATH.

To authenticate the password

  1. (Optional) Add the client section.
  2. Under the Client section, edit the my.ini or my.cnf file to add the password. For example,

    [client]

    port=3306

    password=<password>

  3. To verify the password authentication, login to MariaDB server using the following command:

    mysql -u <user>