rockylinux安装mysql8.0失败
本帖最后由 poilkj19 于 2022-2-28 09:56 编辑环境: docker容器,系统是"rockylinux"
安装包: lnmp1.9
CMake Deprecation Warning at cmake/cmake_policies.cmake:54 (CMAKE_POLICY):
The OLD behavior for policy CMP0075 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances.Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:233 (INCLUDE)
-- CMP0073 OLD
CMake Deprecation Warning at cmake/cmake_policies.cmake:62 (CMAKE_POLICY):
The OLD behavior for policy CMP0073 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances.Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:233 (INCLUDE)
-- This is .el8. as found from 'rpm -qf /'
-- Looking for a devtoolset compiler
CMake Warning at CMakeLists.txt:280 (MESSAGE):
Could not find devtoolset compiler in /opt/rh/gcc-toolset-10
CMake Error at CMakeLists.txt:281 (MESSAGE):
Please set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER explicitly.
-- 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.
include/mysql.sh: line 711: /usr/local/mysql/bin/mysqld: No such file or directory
cp: cannot stat 'support-files/mysql.server': No such file or directory
chmod: cannot access '/etc/init.d/mysql': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
include/mysql.sh: line 34: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 42: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 45: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
include/mysql.sh: line 48: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 58: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
include/mysql.sh: line 68: /etc/init.d/mysql: No such file or directory
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
include/mysql.sh: line 98: /etc/init.d/mysql: No such file or directory
include/mysql.sh: line 99: /etc/init.d/mysql: No such file or directory
dnf install gcc-toolset-10
执行后再安装试一下
页:
[1]