- 积分
- 5
- 威望
-
- 金钱
-
- 注册时间
- 2019-6-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
1 用./upgrade.sh mysql 升级到mysql 8.0.16,报下面的错误。
Uncompress mysql-boost-8.0.16.tar.gz...
cd mysql-8.0.16...
^[[0;34m[+] Download or use exist boost...^[[0m
-- Running cmake version 2.8.12.2
CMake Warning at CMakeLists.txt:43 (MESSAGE):
Please use cmake3 rather than cmake on this platform
-- Please install cmake3 (yum install cmake3)
CMake Error at CMakeLists.txt:55 (CMAKE_MINIMUM_REQUIRED):
CMake 3.4.3 or higher is required. You are running version 2.8.12.2
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
include/upgrade_mysql.sh: line 532: /usr/local/mysql/bin/mysqld: No such file or directory
2 然后我 yum install cmake3 安装了cmake3。
3 我又重新用./upgrade.sh mysql 升级到mysql 8.0.16,然后报下面的错误:
============================check files==================================
mysql-boost-8.0.16.tar.gz [found]
============================check files==================================
Starting backup all databases...
If the database is large, the backup time will be longer.
include/upgrade_mysql.sh: line 7: /usr/local/mysql/bin/mysqldump: No such file or directory
MySQL databases backup failed,Please backup databases manually!
[root@colin-aliyun lnmp1.6-full]# mysql
bash: mysql: command not found
这个情况应该怎么处理呢?
|
|