升级数据库由mySQL 5.7.10到mySQL 5.7.11失败

问答中心分类: OneinStack升级数据库由mySQL 5.7.10到mySQL 5.7.11失败
匿名用户 asked 2年 ago

 
数据库升级失败:
 
/include/upgrade_db.sh: line 212: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
Starting MySQL….The server quit without updating PID file[FAILED]mysql/mysql.pid).
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)
MySQL server PID file could not be found!                  [FAILED]
Starting MySQL…The server quit without updating PID file [FAILED]ysql/mysql.pid).
What Are You Doing?
 1. Upgrade Nginx/Tengine
 2. Upgrade MySQL/MariaDB/Percona
 3. Upgrade PHP
 4. Upgrade Redis
 5. Upgrade phpMyAdmin
 q. Exit
Please input the correct option:

1 Answers
oneinstack 管理员 answered 2年 ago

已经修复,替换include/upgrade_db.sh

cd /root/oneinstack/include
rm -rf upgrade_db.sh
wget http://mirrors.linuxeye.com/oneinstack/include/upgrade_db.sh