centos 6.6无法安装mysql8.0.11

问答中心分类: Databasecentos 6.6无法安装mysql8.0.11
Bruce Xie asked 7 年 ago
错误信息:
 

/home/xiebruce/oneinstack /home/xiebruce/oneinstack
tar (child): mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat `mysql-8.0.11-linux-glibc2.12-x86_64/*': No such file or directory
sed: can't read /usr/local/mysql/bin/mysqld_safe: No such file or directory
^[[1;31mMySQL install failed, Please contact the author! ^[[0m
/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
/home/xiebruce/oneinstack /home/xiebruce/oneinstack
include/mysql-8.0.sh: line 192: /usr/local/mysql/bin/mysqld: No such file or directory
mysqld: unrecognized service
include/mysql-8.0.sh: line 202: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-8.0.sh: line 203: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-8.0.sh: line 204: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-8.0.sh: line 205: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-8.0.sh: line 206: /usr/local/mysql/bin/mysql: No such file or directory
mysqld: unrecognized service

1 Answers
oneinstack answered 7 年 ago

mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz 下载失败,安装前吧

cd /home/xiebruce/oneinstack/src
wget -c https://mirrors.huaweicloud.com/repository/toolkit/mysql/Downloads/MySQL-8.0/mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz