In CentOS 6.4 installation deployment Percona Xtrabackup, perform full backup script, backup unsuccessful, view log, error is as follows:
11:15:51 innobackupex:connecting to MySQL server with DSN ' Dbi:mysql:;mysql_read_default_file=/etc/my.cnf;mysql_read_ Default_group=xtrabackup;mysql_socket=/data/lib/mysql/mysql.sock ' as ' dump ' (using Password:yes).
Innobackupex:got a fatal error with the following Stacktrace:at/usr/bin/innobackupex line 2999
Main::mysql_connect (' Abort_on_error ', 1) called At/usr/bin/innobackupex Line 1539
innobackupex:Error:Failed to connect to MySQL server as Dbd::mysql module was not installed At/usr/bin/innobackupex line 2999.
Log shows problems with installing PERL-DBD
Workaround: Uninstall the following software
Rpm-e percona-xtrabackup-2.2.9-5067.el6.x86_64
RPM-E perl-dbi-1.52-2.el5.x86_64--nodeps
RPM-E perl-dbd-mysql-4.013-3.el6.x86_64--nodeps
Re-install the software
RPM-IVH perl-dbi-1.609-4.el6.x86_64.rpm
RPM-IVH perl-dbd-mysql-4.013-3.el6.x86_64.rpm
RPM-IVH percona-xtrabackup-2.2.9-5067.el6.x86_64.rpm
Re-execute Full backup script, backup successful, view log, no error message, problem
This article is from the "Little Bear Stupid" blog, please make sure to keep this source http://ccmm8488.blog.51cto.com/2254226/1682319
CentOS 6.4 under Percona xtrabackup installation deployment error handling