How does MySQL use innobackupex to back up and connect to the server? mysqlinnobackupex
What should I do if MySQL fails to use innobackupex to back up and connect to the server?
The following error message is displayed when innobackupex is used for backup:
Failed to connect to MySQL server as DBD: mysql module is not installed at-line 1327.
Cause: the perl-based mysql interface tool perl-DBD-MySQL is not installed.
Solution:
# Perl-DBD-MySQL installation # yum list installed | grep perl-DBD-MySQL # view perl-DBD-MySQL dependent package # yum deplist perl-DBD-MySQL.x86_64 | grep mysql dependency: libmysqlclient. so.16 () (64bit) provider: mysql-libs.x86_64 5.1.71-1. el6 dependency: libmysqlclient. so.16 (libmysqlclient_16) (64bit) provider: mysql-libs.x86_64 5.1.71-1. el6 # check whether a dependency package exists or is installed in the system # find/-name libmysqlclient. so.16/usr/lib64/mysql/libmysqlclient. so.16 # yum list installed | grep mysql-libs.x86_64 5.1.71-1. el6 @ anaconda-CentOS-201311272149.x86_64/6.5 # install perl-DBD-MySQL # yum install perl-DBD-MySQL.x86_64 # view # yum list installed | grep perl-DBD-MySQL
Reference: xtrabackup complains of missing PERL-DBD-MYSQL
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.