How does MySQL use innobackupex to back up and connect to the server? mysqlinnobackupex

Source: Internet
Author: User
Tags install perl

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.

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.