Mysql安装错误

【问题一】在安装mysql时遇到以下错误

  执行./mysqld --initialize 后

  ./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

  原因是没有安装libaio.so.1,安装即可。

Ubuntu下执行:

apt-get install libaio1 libaio-dev

Redhat/Fedora/CentOS下执行:

yum install libaio

  

【问题二】FATAL ERROR: please install the following Perl modules before executing

./scripts/mysql_install_db  --defaults-file=conf/3306my.cnf
FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db:
Data::Dumper

解决方法 :安装autoconf库

命令:

yum install autoconf

   

若有人能让你体会到心碎狂喜和一败涂地,那伟大的并不是他而是你自己

                                          ---琦殿

posted @ 2018-11-09 16:08  一如年少de模样  阅读(249)  评论(0编辑  收藏  举报