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 install xtrabackup-2.4.12 in mysql

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to install xtrabackup-2.4.12 in mysql. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Version Notes:

Backup tool: percona-xtrabackup-2.4.12-Linux-x86_64.libgcrypt11

Os:centos 6.5

1. Extract the installation package

Tar zxvf percona-xtrabackup-2.4.12-Linux-x86_64.libgcrypt11.tar.gz

2. Make soft links

Ln-s percona-xtrabackup-2.4.12-Linux-x86_64 xtrabackup

3. Edit the / etc/profile file and add / usr/local/xtrabackup/bin to PATH,source / etc/profile.

Installation error resolution: / usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

A. Configure yum source and supplement package

# # configuring Network yum Source

Wget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

Yum-y install libstdc++.so*

B. Install the higher version of libstdc++.so.6.0.17

For a 64-bit system, the error message is as follows:

/ usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

The reason is that there is no GLIBCXX_3.4.15 version, or a higher version.

Enter the command to query the results:

[root@localhost ~] # strings / usr/lib/libstdc++.so.6 | grep GLIBCXX

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_FORCE_NEW

GLIBCXX_DEBUG_MESSAGE_LENGTH

We see that there is no GLIBCXX_3.4.15 in the current version of GCC.

# # check that the system is currently using libstdc version

[root@mysql3 lib64] # cd / usr/lib64/

[root@mysql3 lib64] # ll libstdc++.so*

Lrwxrwxrwx. 1 root root 19 Sep 12 23:00 libstdc++.so.6-> libstdc++.so.6.0.13

-rwxr-xr-x 1 root root 989840 Nov 22 2013 libstdc++.so.6.0.13

[root@mysql3 lib64] #

[root@mysql3 lib64] #

[root@mysql3 lib64] # unlink libstdc++.so.6

[root@mysql3 lib64] #

[root@mysql3 lib64] # ln-s libstdc++.so.6.0.17 libstdc++.so.6

[root@mysql3 lib64] # innobackupex-V > success!

Xtrabackup: recognized server arguments:-- server-id=100-- datadir=/data/mysql_data-- tmpdir=/tmp-- log_bin=bin.log-- innodb_page_size=8192-- innodb_buffer_pool_size=128M-- innodb_io_capacity=4000-- innodb_flush_method=O_DIRECT-- innodb_undo_tablespaces=3-- innodb_log_file_size=28M-- innodb_log_buffer_size=16777216

180920 17:21:06 innobackupex: Missing argument

The above is how to install xtrabackup-2.4.12 in mysql. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, 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

Servers

Wechat

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

12
Report