在安装mysql时,提示错误numactl已经存在比较新的版本,但是在后续电脑 程序依赖时,需要哪个低版本,应该把numactl新版本卸载掉,否则软件依赖不好解决。
[zhao@h4 mysql]# sh mysql.sh/data/software/mysqlmysql开始部署Preparing... ################################# [100%] package numactl-libs-2.0.12-5.el7.x86_64 (which is newer than numactl-libs-2.0.9-7.el7.x86_64) 电脑 is already installed file /usr/lib64/libnuma.so.1 from install of numactl-libs-2.0.9-7.el7.x86_64 conflicts with file from package numactl-libs-2.0.12-5.el7.x86_64error: Failed dependencies: numactl-libs = 2.0.9-7.el7 is needed by numactl-devel-2.0.9-7.el7.x86_64Preparing... ################################# [100%] package numactl-2.0.9-7.el7.x86_64 is already installedtar: option requires an argument -- 'f'Try `tar --help' or `tar --usage' for more information.mv: cannot stat ‘mysql-5.7.30-linux-glibc2.12-x86_64’: No such file or directorymkdir: cannot create directory ‘/applications/mysql/data’: No such file or directorychown: cannot access ‘/applications/mysql’: No such file or directorymysql.sh: line 72: cd: /applications/mysql: No such file or directorynohup: appending 电脑output to ‘nohup.out’nohup: failed to run command ‘bin/mysql_install_db’: No such file or directorycp: cannot stat ‘./support-files/mysql.server’: No such file or directory/etc/init.d/mysqld: line 239: my_print_defaults: command not found/etc/init.d/mysqld: line 259: cd: /usr/local/mysql: No such file or directoryStarting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)mysql部署失败
电脑