Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve a mistake of mysql innobackupex

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you how to solve a mistake about mysql innobackupex. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

-bash-3.2 $. / innobackupex-- version-check / usr/mysql/xtraback/xtrabackup03

InnoDB Backup Utility v1.5.1-xtrabackup

150930 17:16:26 innobackupex: Executing a version check against the server...

150930 17:16:26 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup' (using password: NO).

Innobackupex: got a fatal error with the following stacktrace: at. / innobackupex line 3006

Main::mysql_connect ('abort_on_error', 1) called at. / innobackupex line 1551

Innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at. / innobackupex line 3006.

150930 17:16:26 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup' (using password: NO).

Innobackupex: got a fatal error with the following stacktrace: at. / innobackupex line 3006

Main::mysql_connect ('abort_on_error', 1) called at. / innobackupex line 1570

Innobackupex: Error: Failed to connect to MySQL server as DBD::mysql module is not installed at. / innobackupex line 3006.

Report such a mistake. The reason for this error is that innobackupex is written in Perl, and perl is executed by calling the mysql database through the perl DBI module and the DBD-mysql module.

Therefore, you need to install the package perl-DBD-MySQL. When you install this package, you will encounter an error:

Yum install perl-DBD-MySQL . Using this command to install will result in the following error:

Transaction Check Error:

File / etc/my.cnf from install of mysql-5.0.77-4.el5_5.4.i386 conflicts with file from package MySQL-server-5.6.25-1.linux_glibc2.5.i386

The reason: perl-DBD-MySQL corresponds to version 5.0 of mysql, while you install version 5.6 of mysql. The workaround is to install DBD manually.

The above is the editor for you to share a mysql innobackupex error how to solve, if there happen to be similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report