Home > Database > Mysql Tutorial > mysqlhotcopy的使用和安装方法_MySQL

mysqlhotcopy的使用和安装方法_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:35:11
Original
1193 people have browsed it

bitsCN.com

mysqlhotcopy的使用和安装方法

 

使用mysqlhotcopy之前需要安装perl-DBI和DBD-mysql: 

 

1:安装perl-DBI 

yum -y install perl-DBI 

#(如果不行则执行yum -y install perl perl-DBI) 

 

2:安装DBD-mysql (如果编译出错请看最后面) 

 

wget http://www.fcbu.com/upimages/soft/DBD-mysql-4.020.tar.gz 

tar xzvf DBD-mysql-4.020.tar.gz 

cd DBD-mysql-4.020 

perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config 

make 

make install 

 

/usr/bin/mysqlhotcopy --user=root -host=127.0.0.1 stat  /data/mysqldatafile/

bitsCN.com
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template