问答中心分类: DatabaseMySQL install failed, Please contact the author!
skyvia 提问 3年 前

作者(管理员)您好:
请问这样的问题在安装mysql5.5,5.6都会出现,这是为什么呢?
 

tar: mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat `mysql-5.5.56-linux-glibc2.5-x86_64/*': No such file or directory
sed: can't read /usr/local/mysql/bin/mysqld_safe: No such file or directory
sed: can't read /usr/local/mysql/bin/mysqld_safe: No such file or directory
MySQL install failed, Please contact the author!
Killed
root@Buaa:~/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
update-rc.d: error: initscript does not exist: /etc/init.d/mysqld
~/oneinstack
include/mysql-5.5.sh: line 200: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
mysqld: unrecognized service
include/mysql-5.5.sh: line 209: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 210: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 211: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 212: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 213: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 214: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 215: /usr/local/mysql/bin/mysql: No such file or directory

3 问题
oneinstack 回答 3年 前

mysql二进制文件下载失败,重复执行安装试试

skyvia 回答 3年 前

多次重复安装依然无效,很奇怪三台vps一台总能成功,另外两台总不能成功

oneinstack 回答 3年 前

mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz下载不完整
安装前将mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz下载放到oneinstack/src