澳门金莎娱乐网站:使用rpm安装XtraBackup问题总结

作者: 数据库信息  发布:2019-09-05

 

奥德赛HEL 5.7 使用rpm安吹捧traBackup难题总括,rhelxtrabackup

在Red Hat Enterprise Linux Server release 5.7 (Tikanga)上选拔RPM格局安装Percona Xtrabackup 2.4.6时遇见了一部分难题,特意总计在此。

 

[[email protected] tmp]#yum -y install perl perl-devel libaio libaio-devel perl-Time-HiRes perl-DBD-MySQL

 

 

 

安装相关重视组件时,蒙受conflict with file的荒谬,如上截图所示,然后安装Percona Xtrabackup 2.4.6是就能够越过上边错误:

 

[[email protected] tmp]# rpm -ivh percona-xtrabackup-24-2.4.6-2.el5.x86_64.rpm 

warning: percona-xtrabackup-24-2.4.6-2.el5.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID cd2efd2a

error: Failed dependencies:

        libev.so.4()(64bit) is needed by percona-xtrabackup-24-2.4.6-2.el5.x86_64

        perl(DBD::mysql) is needed by percona-xtrabackup-24-2.4.6-2.el5.x86_64

 

如上所示,既然贫乏组件,那么安装libev.x86_64, 如下所示,当地yum源安装libev.so.4失败,只可以从网络下载libev-4.15-1.el5.rf.x86_64.rpm,网址为

 

[[email protected] tmp]# yum -y install libev.x86_64

Loaded plugins: product-id, security, subscription-manager

Updating Red Hat repositories.

Setting up Install Process

No package libev.x86_64 available.

Nothing to do

 

 

[[email protected] tmp]# rpm -ivh libev-4.15-1.el5.rf.x86_64.rpm 

warning: libev-4.15-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6

Preparing...                ########################################### [100%]

   1:libev                  ########################################### [100%]

[[email protected] tmp]# yum list | grep "perl-DBD-MySQL"

perl-DBD-MySQL.x86_64                      3.0007-2.el5                media   

[[email protected] tmp]# yum install perl-DBD-MySQL

 

设置 perl-DBD-MySQL时,就可以遇上海南大学学量周边上边错误

 

 

  file /usr/bin/msql2mysql from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

  file /usr/bin/mysql from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

  file /usr/bin/mysql_find_rows from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

  file /usr/bin/mysql_waitpid from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

  file /usr/bin/mysqlaccess from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

 

 

遇见那些错误是因为未有设置MySQL-shared-compat组件,安装了MySQL-shared-compat-advanced-5.6.20-1.rhel5.x86_64.rpm后,然后使用yum install perl-DBD-MySQL就不会遇到conflict with file的不当

 

[[email protected] tmp]# rpm -qa | grep -i mysql

MySQL-server-advanced-5.6.20-1.rhel5

MySQL-client-advanced-5.6.20-1.rhel5

[[email protected] tmp]# rpm -ivh MySQL-shared-compat-advanced-5.6.20-1.rhel5.x86_64.rpm 

Preparing...                ########################################### [100%]

   1:MySQL-shared-compat-adv########################################### [100%]

[[email protected] tmp]# yum install perl-DBD-MySQL

[[email protected] tmp]# rpm -ivh percona-xtrabackup-24-2.4.6-2.el5.x86_64.rpm 

warning: percona-xtrabackup-24-2.4.6-2.el5.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID cd2efd2a

Preparing...                ########################################### [100%]

   1:percona-xtrabackup-24  ########################################### [100%]

[[email protected] tmp]# 

5.7 使用rpm安装逼traBackup难题计算,rhelxtrabackup 在Red Hat Enterprise Linux Server release 5.7 (Tikanga)上采用RPM格局安装Percona Xtrabackup 2.4.6时碰到了一...

[root@DB-Server tmp]# yum -y install libev.x86_64

Loaded plugins: product-id, security, subscription-manager

Updating Red Hat repositories.

Setting up Install Process

No package libev.x86_64 available.

Nothing to do

 

 

[root@DB-Server tmp]# rpm -ivh libev-4.15-1.el5.rf.x86_64.rpm 

warning: libev-4.15-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6

Preparing...                ########################################### [100%]

   1:libev                  ########################################### [100%]

[root@DB-Server tmp]# yum list | grep "perl-DBD-MySQL"

perl-DBD-MySQL.x86_64                      3.0007-2.el5                media   

[root@DB-Server tmp]# yum install perl-DBD-MySQL

  file /usr/bin/mysql from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

设置 perl-DBD-MySQL时,就能赶过海高校量好像下边错误

遇到这么些荒唐是因为尚未设置MySQL-shared-compat组件,安装了MySQL-shared-compat-advanced-5.6.20-1.rhel5.x86_64.rpm后,然后使用yum install perl-DBD-MySQL就不会碰着conflict with file的谬误

 

设置相关重视组件时,遇到conflict with file的错误,如上截图所示,然后安装Percona Xtrabackup 2.4.6是就能遇到上边错误:

 

 

 

在Red Hat Enterprise Linux Server release 5.7 (Tikanga)上行使RPM方式安装Percona Xtrabackup 2.4.6时境遇了有些难题,刻意总括在此。

  file /usr/bin/msql2mysql from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

 

  file /usr/bin/mysql_find_rows from install of mysql-5.0.77-4.el5_6.6.x86_64 conflicts with file from package MySQL-client-advanced-5.6.20-1.rhel5.x86_64

本文由金沙澳门官网发布于数据库信息,转载请注明出处:澳门金莎娱乐网站:使用rpm安装XtraBackup问题总结

关键词: 金沙澳门官网

上一篇:离线安装教程
下一篇:没有了