初始化mysql数据库提示缺少Data:du…
时间:2016-02-26 00:59 来源:linux.it.net.cn 作者:IT
初始化默认数据库运行此命令:/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/
出现错误:
FATAL ERROR: please install the following Perl modules before executing /usr/local/mysql/scripts/mysql_install_db:
Data::Dumper
解决方法 :安装autoconf库
命令:yum-y install autoconf //此包安装时会安装Data:Dumper模块
安装完autoconf库,再运行/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ ,问题消失!!!
(责任编辑:IT)
出现错误:
Data::Dumper
解决方法 :安装autoconf库
安装完autoconf库,再运行/usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ |