Installing the MySQL client utility
Note:
MySQL client utility recommended version is 8.0.25.
RPM Download location |
To install, run the following commands in the terminal:
- rpm -ivh mysql-community-common-<version_no>.x86_64.rpm
- rpm -ivh mysql-community-client-plugins- <version_no>.x86_64.rpm
- rpm -ivh mysql-community-libs- <version_no>.x86_64.rpm
- rpm -ivh mysql-community-libs-compat- <version_no>.x86_64.rpm
- rpm -ivh mysql-community-client- <version_no>.x86_64.rpm
Note:
You might experience a connectivity issue in MySQL client utility 8.0.27 version.
In NetBackup deployed in AKS and EKS environments, perform the following steps for MySQL database backup and restore to work:
- Create folder structure as shown. Keep all folder names in lowercase.
nbshared └── mysql
Dump the mysql 4 rpm into the
mysqlfolder:nbshared └── mysql ├── mysql-community-client-8.0.25-1.el7.x86_64.rpm ├── mysql-community-client-plugins-8.0.25-1.el7.x86_64.rpm ├── mysql-community-common-8.0.25-1.el7.x86_64.rpm └── mysql-community-libs-8.0.25-1.el7.x86_64.rpm - Copy the
nbsharedfolder to:primary pod >kubectl cp <path>/nbshared <netbackup namespace>/<primary pod name>:/mnt/nbdata/nbsharedFor example: kubectl cp nbshared nb-namespace/nbu-primary-0:/mnt/nbdata/nbshared
- Verify if the
nbsharedcontent is copied correctly on the primary pod, run:kubectl exec -it pod/nbu-primary-0 -c nbu-primary -n nb-namespace -- ls -ltr /mnt/nbdata/nbshared drwxr-xr-x. 2 root root 228 Sep 13 01:42 mysql
- Using the same command verify if the
mysqlfolder contains the required RPMs.