mysql libaio_手动编译安装mysql,报错没有libaio模块,
在初始化mysql时,报错
# scripts/mysql_install_db --user=mysql --datadir=/data/mysql --basedir=/usr/local/mysql
Could not open required defaults file: /root/.my.cnf
Fatal error in defaults handling. Program aborted
Installing MariaDB/MySQL system tables in '/data/mysql' ...
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Installation of system tables failed! Examine the logs in
/data/mysql for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /usr/local/mysql/scripts/scripts/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> /usr/local/mysql/bin/mysqld --skip-grant --general-log &
and use the command line tool /usr/local/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tables;
Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /data/mysql that may be helpful.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria
Please check all of the above before submitting a bug report
at http://mariadb.org/jira
报错:/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory,因为缺少libaio模块
解决:
yum search libaio
yum -y install libaio
再次执行scripts/mysql_install_db 即可成功,启动mysqld..SUCCESS
mysql libaio_手动编译安装mysql,报错没有libaio模块,相关推荐
- Centos7 编译安装git 报错 git-compat-util.h:14:2: error
Centos7 编译安装git 报错 git-compat-util.h:14:2: error 环境: OS:CentOS7.9 Git版本: git-2.38.1 一.报错现象 [root@077 ...
- ClickHouse系列教程七:centos下源码编译安装及报错解决
ClickHouse系列教程: ClickHouse系列教程 参考上一篇博客: ClickHouse系列教程六:源码分析之Debug编译运行 先安装 gcc 8, g++ 8, cmake 3, ni ...
- 编译安装redis报错zmalloc.h
问题 解决方法 问题原因 问题 编译安装redis时出现报错zmalloc.h zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or ...
- linux编译安装的报错,linux编译安装时常见错误解决办法
This article is post on https://coderwall.com/p/ggmpfa 原文链接:http://www.bkjia.com/PHPjc/1008013.html ...
- NGINX编译安装configure报错缺少zlib库
ubuntu20.04,编译安装nginx1.18,报错缺少zlib.网友的智慧去访问zlib官网,然后下载1.2.11.通过下载失败查询到官网目前版本是1.2.12,更新了wget语句,成功- zl ...
- php date 报错,编译安装PHP报错:ext/date/php_date.lo is not a valid libtool object
安装php-5.3.13时,make报错: ext/date/php_date.lo is not a valid libtool object. 查看libtool(由ltmain.sh生成)该错误 ...
- dpdk编译安装igb_uio报错 insmod: ERROR: could not insert module igb_uio.ko: File exists 问题
前言 出错问题:insmod: ERROR: could not insert module igb_uio.ko: File exists 什么时候出现 insmod build/kmod/igb_ ...
- 编译安装mysql带boost_编译安装mysql时报缺少boost1.59后,编译安装boost1.59
1.下载: 网址:https://nchc.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz 2.编译: 2.1 快速 ...
- 编译安装RRDtool报错
1.报错: error: I need a copy of *nroff to format the documentation 解决方法: yum -y install groff 2.报错: Ca ...
- python3.6.6安装make报错sharedmods_python机器学习模块安装
vi /etc/fstab #添加以下代码.实现开机自动挂载 /usr/local/src/rhel-server-7.0-x86_64-dvd.iso /media/cdrom iso96 ...
最新文章
- 消控中心人员配置_物业公司(项目)各岗位员工配置人数及标准(供参考)
- 第十三周项目三-形状类族中的纯虚函数
- linux mysql 健康检查_Linux下检查MySQL的Slave是否正常
- 漫谈架构师之路的修仙之法
- 机器学习算法及应用领域相关的中国大牛
- HDMI转MIPI DSI芯片方案TC358779XBG
- Linux下汇编语言学习笔记13 ---
- python学习1:注释\变量类型\转换函数\转义字符\运算符
- MySQL-回表查询与索引覆盖
- c#winform选择文件,文件夹,打开指定目录方法
- Zotero IEEE trans期刊cls格式调整
- 网管随笔02---【爱普生R230打印机清零大作战】
- Android 截屏监听(截图分享功能)
- C语言实现洛谷题库中的 P1125 [NOIP2008 提高组] 笨小猴
- 软件项目量化管理(CMMI高成熟度)实践经验谈——之项目管理过程策划篇
- UEBA对抗威胁之“健康就是财富”!
- vlan配置实例详解_网工知识角|MUXVLAN技术详解,基本原理一篇搞定
- CGI, FCGI, SCGI, WSGI
- ul,ol,dl区别
- scylladb docker 运行试用