centos 6.9 MySQL 8.0.13 安装失败
本帖最后由 yang4210 于 2019-8-11 21:54 编辑centos 6.9 MySQL 8.0.13 安装失败,单独安装mysql MySQL 8.0.13会安装失败,lnmp安装选择MySQL 8.0.13也是安装失败。系统是最小化安装。
# ./install.sh db
系统环境如下:
# cat /etc/redhat-release
CentOS release 6.9 (Final)
# uname -a
Linux localhost.localdomain 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
#
附件是日志文件:install_database.log
-- Configuring incomplete, errors occurred!
See also "/home/lnmp1.6-full/src/mysql-8.0.13/build/CMakeFiles/CMakeOutput.log".
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
include/mysql.sh: line 711: /usr/local/mysql/bin/mysqld: 没有那个文件或目录
cp: 无法获取"support-files/mysql.server" 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问"/etc/init.d/mysql": 没有那个文件或目录
include/mysql.sh: line 39: /etc/init.d/mysql: 没有那个文件或目录
include/mysql.sh: line 47: /etc/init.d/mysql: 没有那个文件或目录
include/mysql.sh: line 50: /usr/local/mysql/bin/mysqladmin: 没有那个文件或目录
failed, try other way...
include/mysql.sh: line 53: /etc/init.d/mysql: 没有那个文件或目录
include/mysql.sh: line 63: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Set password failed!
include/mysql.sh: line 73: /etc/init.d/mysql: 没有那个文件或目录
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Update root password...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove anonymous users...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Disallow root login remotely...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove test database...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Reload privilege tables...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
include/mysql.sh: line 103: /etc/init.d/mysql: 没有那个文件或目录
include/mysql.sh: line 104: /etc/init.d/mysql: 没有那个文件或目录
Add mysql service at system startup...
在 mysql 服务中读取信息时出错:没有那个文件或目录
在 mysql 服务中读取信息时出错:没有那个文件或目录
include/only.sh: line 119: /etc/init.d/mysql: 没有那个文件或目录
Clean database src directory...
Error: MySQL install failed.
centos 6日志不用看肯定装不了mysql 8.0
cmake、gcc版本都满足不了,要不就自行升级gcc、cmake或换版本或其他带高版本gcc、cmake的linux发行版
centos升级gcc参考:https://www.vpser.net/manage/centos-6-upgrade-gcc.html
升级cmake3参考:https://bbs.vpser.net/thread-18525-1-1.html
页:
[1]