Solution to the failure of MySQL to use innobackupex to backup the connection server

Solution to the failure of MySQL to use innobackupex to backup the connection server

What should I do if MySQL fails to connect to the server using innobackupex to back up?

When using innobackupex to back up, the error message is as follows:
Failed to connect to MySQL server as DBD::mysql module is not installed at - line 1327.

Reason: The Perl-DBD-MySQL interface tool based on Perl is not installed

Solution:

# Is perl-DBD-MySQL installed? # yum list installed | grep perl-DBD-MySQL 
 
# View the required dependency packages of perl-DBD-MySQL# 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 the dependent 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 
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 the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Solution to the problem of mysql service starting but not connecting
  • Detailed explanation of performance monitoring of MySQL server using Prometheus and Grafana
  • Mysql5.7 service cannot be started. Graphical solution tutorial
  • Solution to the problem that the service name is invalid when running mysql net start
  • MySQL uses show status to view MySQL server status information
  • The best way to automatically backup the mysql database (windows server)
  • How to view the path of the MySQL configuration file on the Linux server
  • Solution to MySql service disappearance for unknown reasons

<<:  Comprehensive analysis of prototypes, prototype objects, and prototype chains in js

>>:  How to redirect to https through nginx load balancing

Recommend

About if contains comma expression in JavaScript

Sometimes you will see English commas ",&quo...

Docker container introduction

1. Overview 1.1 Basic concepts: Docker is an open...

Vue uses three methods to refresh the page

When we are writing projects, we often encounter ...

Introduction and use of js observer mode

Table of contents I. Definition 2. Usage scenario...

Introduction to HTML DOM_PowerNode Java Academy

What is DOM? With JavaScript, you can reconstruct...

HTML head structure

The following introduces the commonly used head s...

Ant designing vue table to achieve a complete example of scalable columns

Perfect solution to the scalable column problem o...

Detailed explanation of as, question mark and exclamation mark in Typescript

1. The as keyword indicates an assertion In Types...

How to access MySql through IP address

1. Log in to mysql: mysql -u root -h 127.0.0.1 -p...

A general method for implementing infinite text carousel with native CSS

Text carousels are very common in our daily life....

mysql5.7.18.zip Installation-free version configuration tutorial (windows)

This is the installation tutorial of mysql5.7.18....

js handles account logout when closing the browser

Table of contents Classic approach question Furth...

A summary of some of the places where I spent time on TypeScript

Record some of the places where you spent time on...