前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >使用XtraBackup创建mysql slave5

使用XtraBackup创建mysql slave5

作者头像
franket
发布2022-05-04 22:34:13
4040
发布2022-05-04 22:34:13
举报
文章被收录于专栏:技术杂记

可知 perl-DBD-MySQL 已经安装了,和报错不符合

解决办法:

重装 perl-DBD-MySQL

代码语言:javascript
复制
[root@master-qa ~]# yum list all | grep  perl-DBD-MySQL 
perl-DBD-MySQL.x86_64                      4.013-3.el6                   @base  
[root@master-qa ~]# yum reinstall  perl-DBD-MySQL.x86_64  
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * extras: mirrors.pubyun.com
 * updates: centos.ustc.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be reinstalled
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Running transaction check
---> Package Percona-Server-shared-51.x86_64 0:5.1.73-rel14.12.624.rhel6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                             Arch              Version                                Repository                         Size
======================================================================================================================================
Reinstalling:
 perl-DBD-MySQL                      x86_64            4.013-3.el6                            base                              134 k
Installing for dependencies:
 Percona-Server-shared-51            x86_64            5.1.73-rel14.12.624.rhel6              percona-release-x86_64            2.1 M

Transaction Summary
======================================================================================================================================
Install       1 Package(s)
Reinstall     1 Package(s)

Total download size: 2.3 M
Installed size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): Percona-Server-shared-51-5.1.73-rel14.12.6 (1%)  1% [-                                       ]  0.0 B/s |  43 kB     --:-- ETA 
(1/2): Percona-Server-shared-51-5.1.73-rel14.12.6 (91%) 96% [=====================================- ] 177 kB/s | 2.1 MB     00:00 ETA 
(1/2): Percona-Server-shared-51-5.1.73-rel14.12.6 (93%) 99% [======================================-] 174 kB/s | 2.1 MB     00:00 ETA 

(1/2): Percona-Server-shared-51-5.1.73-rel14.12.624.rhel6.x86_64.rpm                                           | 2.1 MB     00:10     

(2/2): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm                                                                   | 134 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 208 kB/s | 2.3 MB     00:11     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : Percona-Server-shared-51-5.1.73-rel14.12.624.rhel6.x86_ [####################################################### ] 1/2
  Installing : Percona-Server-shared-51-5.1.73-rel14.12.624.rhel6.x86_64                                                          1/2 
  
  Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 [############################################################################# ] 2/2
  Installing : perl-DBD-MySQL-4.013-3.el6.x86_64                                                                                  2/2 

  Verifying  : perl-DBD-MySQL-4.013-3.el6.x86_64                                                                                  1/2 

  Verifying  : Percona-Server-shared-51-5.1.73-rel14.12.624.rhel6.x86_64                                                          2/2 

Installed:
  perl-DBD-MySQL.x86_64 0:4.013-3.el6                                                                                                 

Dependency Installed:
  Percona-Server-shared-51.x86_64 0:5.1.73-rel14.12.624.rhel6                                                                         

Complete!
[root@master-qa ~]# 

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 MySQL
腾讯云数据库 MySQL(TencentDB for MySQL)为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。其具备6大企业级特性,包括企业级定制内核、企业级高可用、企业级高可靠、企业级安全、企业级扩展以及企业级智能运维。通过使用腾讯云数据库 MySQL,可实现分钟级别的数据库部署、弹性扩展以及全自动化的运维管理,不仅经济实惠,而且稳定可靠,易于运维。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档