mysql8.0安装出错

问答中心分类: Linuxmysql8.0安装出错
旋风凌 asked 6 年 ago
-- Configuring incomplete, errors occurred!
See also "/root/oneinstack/src/mysql-8.0.15/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
~/oneinstack/src ~/oneinstack ~/oneinstack
MySQL install failed, Please contact the author!
Killed [root@xyz0 oneinstack]# /bin/cp: cannot stat ‘/usr/local/mysql/support-files/mysql.server’: No such file or directory sed: can't read /etc/init.d/mysqld: No such file or directory sed: can't read /etc/init.d/mysqld: No such file or directory chmod: cannot access ‘/etc/init.d/mysqld’: No such file or directory error reading information on service mysqld: No such file or directory error reading information on service mysqld: No such file or directory ~/oneinstack ~/oneinstack include/mysql-8.0.sh: line 196: /usr/local/mysql/bin/mysqld: No such file or directory Redirecting to /bin/systemctl start mysqld.service Failed to start mysqld.service: Unit not found. include/mysql-8.0.sh: line 206: /usr/local/mysql/bin/mysql: No such file or directory include/mysql-8.0.sh: line 207: /usr/local/mysql/bin/mysql: No such file or directory include/mysql-8.0.sh: line 208: /usr/local/mysql/bin/mysql: No such file or directory include/mysql-8.0.sh: line 209: /usr/local/mysql/bin/mysql: No such file or directory include/mysql-8.0.sh: line 210: /usr/local/mysql/bin/mysql: No such file or directory Redirecting to /bin/systemctl stop mysqld.service Failed to stop mysqld.service: Unit mysqld.service not loaded.

7 Answers
oneinstack answered 6 年 ago
MySQL8.0.15 boost版本要求1.68.0 ,安装修改versions.txt boost_ver=1.68.0 再重新试试。
PS:建议使用二进制安装,源码安装需要消耗大量系统资源

旋风凌 answered 6 年 ago
改了还是没有用

oneinstack answered 6 年 ago
/root/oneinstack/install.log 日志上传百度云贴下链接

旋风凌 answered 6 年 ago
链接: https://pan.baidu.com/s/1NGegdKMvG2OOcr5BSeciVg 提取码: sssd 复制这段内容后打开百度网盘手机App,操作更方便哦

oneinstack answered 6 年 ago
~/oneinstack/upgrade.sh --oneinstack

上面命令升级下oneinstack再试试

旋风凌 answered 6 年 ago
好像可以了,请问一下是什么出了问题?

oneinstack answered 6 年 ago
MySQL8.0.15有些变化