mysqlhotcopy 运行报错解决方案

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysqlhotcopy 运行报错解决方案相关的知识,希望对你有一定的参考价值。

[[email protected] bin]# ./mysqlhotcopy 
Can‘t locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./mysqlhotcopy line 22.
BEGIN failed--compilation aborted at ./mysqlhotcopy line 22.

yum install  perl-devel perl-DBD-mysql -y

缺少这2个相关包,

安装之后基本上就可以了,

如果还是报错,再装下面这个应用

wget http://www.cpan.org/modules/by-module/Data/Data-Dumper-2.154.tar.gz
tar zxvf Data-Dumper-2.154.tar.gz
cd Data-Dumper-2.154
perl Makefile.PL 
make
make install

以上是关于mysqlhotcopy 运行报错解决方案的主要内容,如果未能解决你的问题,请参考以下文章

RuntimeError: ‘lengths’ argument should be a 1D CPU int64 tensor, but got 1D cuda:0 Long tensor(代码片段

错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段

Docker删除报错:Error response from daemon: conflict: unable to delete 08b152afcfae (must be forced)(代码片段

解决移动端报错:Unable to preventDefault inside passive event listener due to target being treated as……(代码片段

错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段

错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段