VPS侦探论坛

 找回密码
 注册
查看: 2976|回复: 1

rockylinux安装mysql8.0失败

[复制链接]
发表于 2022-2-28 09:54:22 | 显示全部楼层 |阅读模式

本帖最后由 poilkj19 于 2022-2-28 09:56 编辑

环境: docker容器,系统是"rockylinux"
安装包: lnmp1.9
  1. CMake Deprecation Warning at cmake/cmake_policies.cmake:54 (CMAKE_POLICY):
  2.   The OLD behavior for policy CMP0075 will be removed from a future version
  3.   of CMake.

  4.   The cmake-policies(7) manual explains that the OLD behaviors of all
  5.   policies are deprecated and that a policy should be set to OLD only under
  6.   specific short-term circumstances.  Projects should be ported to the NEW
  7.   behavior and not rely on setting a policy to OLD.
  8. Call Stack (most recent call first):
  9.   CMakeLists.txt:233 (INCLUDE)


  10. -- CMP0073 OLD
  11. CMake Deprecation Warning at cmake/cmake_policies.cmake:62 (CMAKE_POLICY):
  12.   The OLD behavior for policy CMP0073 will be removed from a future version
  13.   of CMake.

  14.   The cmake-policies(7) manual explains that the OLD behaviors of all
  15.   policies are deprecated and that a policy should be set to OLD only under
  16.   specific short-term circumstances.  Projects should be ported to the NEW
  17.   behavior and not rely on setting a policy to OLD.
  18. Call Stack (most recent call first):
  19.   CMakeLists.txt:233 (INCLUDE)


  20. -- This is .el8. as found from 'rpm -qf /'
  21. -- Looking for a devtoolset compiler
  22. CMake Warning at CMakeLists.txt:280 (MESSAGE):
  23.   Could not find devtoolset compiler in /opt/rh/gcc-toolset-10


  24. CMake Error at CMakeLists.txt:281 (MESSAGE):
  25.   Please set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER explicitly.


  26. -- Configuring incomplete, errors occurred!
  27. make: *** No targets specified and no makefile found.  Stop.
  28. make: *** No targets specified and no makefile found.  Stop.
  29. make: *** No rule to make target 'install'.  Stop.
  30. include/mysql.sh: line 711: /usr/local/mysql/bin/mysqld: No such file or directory
  31. cp: cannot stat 'support-files/mysql.server': No such file or directory
  32. chmod: cannot access '/etc/init.d/mysql': No such file or directory
  33. Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /etc/systemd/system/mysql.service.
  34. include/mysql.sh: line 34: /etc/init.d/mysql: No such file or directory
  35. include/mysql.sh: line 42: /etc/init.d/mysql: No such file or directory
  36. include/mysql.sh: line 45: /usr/local/mysql/bin/mysqladmin: No such file or directory
  37. failed, try other way...
  38. include/mysql.sh: line 48: /etc/init.d/mysql: No such file or directory
  39. include/mysql.sh: line 58: /usr/local/mysql/bin/mysql: No such file or directory
  40. Set password failed!
  41. include/mysql.sh: line 68: /etc/init.d/mysql: No such file or directory
  42. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  43. Update root password...
  44. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  45. ... Failed!
  46. Remove anonymous users...
  47. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  48. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  49. ... Failed!
  50. Disallow root login remotely...
  51. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  52. ... Failed!
  53. Remove test database...
  54. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  55. ... Failed!
  56. Reload privilege tables...
  57. include/main.sh: line 780: /usr/local/mysql/bin/mysql: No such file or directory
  58. ... Failed!
  59. include/mysql.sh: line 98: /etc/init.d/mysql: No such file or directory
  60. include/mysql.sh: line 99: /etc/init.d/mysql: No such file or directory
复制代码





美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-2-28 16:40:42 | 显示全部楼层


dnf install gcc-toolset-10

执行后再安装试一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-6 03:48 , Processed in 0.025427 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表