Monday, June 1, 2015

FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db: Data::Dumper

[mysql@mysql01 mysqlc]$ scripts/mysql_install_db --no-defaults --datadir=/mysql/my_cluster/mysqld_data/
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:
Data::Dumper


[root@mysql01 ~]# yum install perl-Data-Dumper.x86_64
Resolving Dependencies
--> Running transaction check
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
=======================================================================================================================================================
 Package                                  Arch                           Version                              Repository                          Size
=======================================================================================================================================================
Installing:
 perl-Data-Dumper                         x86_64                         2.145-3.el7                          ol7_latest                          47 k

Transaction Summary
=======================================================================================================================================================
Install  1 Package

Total download size: 47 k
Installed size: 97 k
Is this ok [y/d/N]: y
Downloading packages:
perl-Data-Dumper-2.145-3.el7.x86_64.rpm                                                                                         |  47 kB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                 1/1
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                                                                                                 1/1

Installed:
  perl-Data-Dumper.x86_64 0:2.145-3.el7

Complete!