匿名用户 提问于 2016-02-15

 
按照正常的升级步骤,升级至mySQL 5.7.11失败 :
 
— Installing: /usr/local/mysql/mysql-test/./valgrind.supp
— Installing: /usr/local/mysql/mysql-test/./README.gcov
— Up-to-date: /usr/local/mysql/mysql-test/mtr
— Up-to-date: /usr/local/mysql/mysql-test/mysql-test-run
— Installing: /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
— Up-to-date: /usr/local/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
— Installing: /usr/local/mysql/mysql-test/lib/My/SafeProcess/Base.pm
— Installing: /usr/local/mysql/support-files/my-default.cnf
— Installing: /usr/local/mysql/support-files/mysqld_multi.server
— Installing: /usr/local/mysql/support-files/mysql-log-rotate
— Installing: /usr/local/mysql/support-files/magic
— Installing: /usr/local/mysql/share/aclocal/mysql.m4
— Installing: /usr/local/mysql/support-files/mysql.server
./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).
 

1 答案

发布
管理员 2016-02-18

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

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

请登录或者 注册 来提交答案