- 积分
- 19
- 威望
-
- 金钱
-
- 注册时间
- 2023-12-8
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2023-12-11 15:23:47
|
显示全部楼层
Enter current root password of Database (Password will not shown): OK, MySQL root password correct.
Current MYSQL Version:5.6.48
You can get version number from http://dev.mysql.com/downloads/mysql/
[0;33mPlease input MySQL Version you want.[0m
(example: 5.5.60 ): ===========================
[0;33mDo you want to install the InnoDB Storage Engine?[0m
(Default yes,if you want please enter: y , if not please enter: n): You will install the InnoDB Storage Engine
==================================================
You will upgrade MySQL Version to 5.7.44
==================================================
[0;32mPress any key to start...or Press Ctrl+c to cancel[0m
============================check files==================================
mysql-boost-5.7.44.tar.gz [found]
============================check files==================================
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Stoping LNMPA...
Stoping nginx... done
Shutting down MySQL.... SUCCESS!
stop apache... done
Starting upgrade MySQL...
Uncompress mysql-boost-5.7.44.tar.gz...
cd mysql-5.7.44...
[0;34m[+] Download or use exist boost...[0m
-- Running cmake version 2.8.12.2
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_GENERATOR: Unix Makefiles
-- Looking for SHM_HUGETLB
-- Looking for SHM_HUGETLB - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void *
-- Check size of void * - done
-- SIZEOF_VOIDP 8
-- Performing Test HAVE_C_SHIFT_OR_OPTIMIZATION_BUG
-- Performing Test HAVE_C_SHIFT_OR_OPTIMIZATION_BUG - Failed
-- Performing Test HAVE_CXX_SHIFT_OR_OPTIMIZATION_BUG
-- Performing Test HAVE_CXX_SHIFT_OR_OPTIMIZATION_BUG - Failed
-- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD
-- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD - Failed
-- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD
-- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD - Failed
-- Performing Test HAVE_C_FP_CONTRACT_FLAG
-- Performing Test HAVE_C_FP_CONTRACT_FLAG - Success
-- Performing Test HAVE_CXX_FP_CONTRACT_FLAG
-- Performing Test HAVE_CXX_FP_CONTRACT_FLAG - Success
-- MySQL 5.7.44
-- Packaging as: mysql-5.7.44-Linux-x86_64
-- Local boost dir /root/lnmp1.7/src/mysql-5.7.44/boost/boost_1_59_0
-- Found /root/lnmp1.7/src/mysql-5.7.44/boost/boost_1_59_0/boost/version.hpp
-- BOOST_VERSION_NUMBER is #define BOOST_VERSION 105900
-- BOOST_INCLUDE_DIR /root/lnmp1.7/src/mysql-5.7.44/boost/boost_1_59_0
-- Performing Test HAVE_LLVM_LIBCPP
-- Performing Test HAVE_LLVM_LIBCPP - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- CMAKE_MODULE_LINKER_FLAGS
-- CMAKE_SHARED_LINKER_FLAGS
-- Configuring done
-- Generating done
-- Build files have been written to: /root/lnmp1.7/src/mysql-5.7.44
Scanning dependencies of target abi_check
Scanning dependencies of target INFO_BIN
Scanning dependencies of target INFO_SRC
Scanning dependencies of target lz4_lib
Building C object extra/libevent/libevent-2.1.11-stable/CMakeFiles/event_core.dir/bufferevent_sock.c.o
Scanning dependencies of target vio
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/mysql/docs/mysql.info
-- Installing: /usr/local/mysql/./README
-- Installing: /usr/local/mysql/./LICENSE
-- Installing: /usr/local/mysql/docs/INFO_SRC
-- Installing: /usr/local/mysql/support-files/magic
-- Installing: /usr/local/mysql/share/aclocal/mysql.m4
-- Installing: /usr/local/mysql/support-files/mysql.server
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
2023-12-11T06:21:53.839128Z 0 [Warning] InnoDB: 1048576 bytes should have been written. Only 667648 bytes written. Retrying for the remaining bytes.
2023-12-11T06:21:53.839165Z 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
2023-12-11T06:21:53.839176Z 0 [ERROR] InnoDB: Write to file /usr/local/mysql/var/ib_logfile101 failed at offset 92274688, 1048576 bytes should have been written, only 667648 were written. Operating system error number 28. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
2023-12-11T06:21:53.839192Z 0 [ERROR] InnoDB: Error number 28 means 'No space left on device'
2023-12-11T06:21:53.839202Z 0 [ERROR] InnoDB: Cannot set log file /usr/local/mysql/var/ib_logfile101 to size 256 MB
2023-12-11T06:21:53.839209Z 0 [ERROR] InnoDB: InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
2023-12-11T06:21:54.339528Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023-12-11T06:21:54.339549Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023-12-11T06:21:54.339563Z 0 [ERROR] Failed to initialize builtin plugins.
2023-12-11T06:21:54.339567Z 0 [ERROR] Aborting
Starting MySQL.Logging to '/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.err'.
. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
failed, try other way...
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Set password failed!
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Update root password...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Remove anonymous users...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Disallow root login remotely...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Remove test database...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
Reload privilege tables...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
... Failed!
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
Restore backup databases...
include/upgrade_mysql.sh: line 555: /root/mysql_all_backup20231211140605.sql: No such file or directory
Repair databases...
mysql_upgrade: [Warning] Using a password on the command line interface can be insecure.
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
ERROR! MySQL server PID file could not be found!
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMPA...
Starting nginx... done
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/iZbp12nzmpsity68p052vgZ.pid).
start apache... done
[0;32m======== upgrade MySQL completed ======[0m
|
|