1 安装cmake

解压:tar xvf cmake-2.8.8.tar.gz

进入解压目录:cd cmake-2.8.8

./bootstrap

make

make install


yum install glib2-devel mysql-devel zlib-devel pcre-devel

tar xvzf mydumper-0.6.2.tar.gz 

# cmake .

# make

# make install


mydumper --help

-B, --database              Database to dump (备份的库)

-o                          输出目录


myloader --help