linux安装XtraBackup8
Posted 入门小站
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux安装XtraBackup8相关的知识,希望对你有一定的参考价值。
下载的rpm软件包安装Percona XtraBackup
> wget https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-8.0.4/binary/redhat/7/x86_64/percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm
常见错误
> rpm -ivh percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm
error: Failed dependencies:
libev.so.4()(64bit) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64
perl(DBD::mysql) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64
perl(Digest::MD5) is needed by percona-xtrabackup-80-8.0.4-1.el7.x86_64
安装libev
> yum install libev -y
安装DBD::mysql
> yum install perl-DBD-MySQL -y
安装Digest::MD5
> yum install -y perl-Digest-MD5
继续安装XtraBackup
> rpm -ivh rpm -ivh percona-xtrabackup-80-8.0.4-1.el7.x86_64.rpm
查看XtraBackup版本
> xtrabackup --version
xtrabackup: recognized server arguments: --datadir=/var/lib/mysql
xtrabackup version 8.0.4 based on MySQL server 8.0.13 Linux (x86_64) (revision id: c2c0777)
卸载percona-xtrabackup
> yum remove `rpm -qa | grep percona-xtrabackup`
原文链接:https://rumenz.com/rumenbiji/linux-install-xtrabackup8.html
微信公众号:入门小站
- 回复【1001】获取 linux常用命令速查手册
- 回复【10010】获取 阿里云ECS运维Linux系统诊断
- 回复【10012】获取 Linux学习笔记【强悍总结值得一看】
- 回复【10013】获取 shell简明教程
以上是关于linux安装XtraBackup8的主要内容,如果未能解决你的问题,请参考以下文章