CentOS 6.4 under Percona xtrabackup installation deployment error handling

Source: Internet
Author: User
Tags percona

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.