首页 > 数据库技术 > 详细

mysql 初始化常见问题

时间:2019-12-25 12:04:22      阅读:87      评论:0      收藏:0      [点我收藏+]

初始化mysql常见错误,都是缺少依赖包导致

1.报错信息:

-bash: ./scripts/mysql_install_db: /usr/bin/perl: 坏的解释器: 没有那个文件或目录、

   解决方法:yum install perl gcc kernel-devel

 2. 报错信息:

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

Data::Dumper

解决方法:yum  install -y autoconf

 3. 报错信息:

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

解决方法:yum  install -y libaio-devel

4.报错信息

error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

解决方法:yum install numactl

mysql 初始化常见问题

原文:https://www.cnblogs.com/pythonx/p/12095751.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!