安裝過程中可能會報以下錯誤:
出現問題:
error:
failed dependencies:
libnuma.so.1()(64bit) is needed by mysql-community-server-8.0.13-1.el7.x86_64 libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-8.0.13-1.el7.x86_64 libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-8.0.13-1.el7.x86_64
解決辦法:
yum install numactl
出現問題:
error:
failed dependencies:
pkgconfig(openssl) is needed by mysql-community-devel-8.0.13-1.el7.x86_64
解決辦法:
yum install openssl-devel.x86_64 openssl.x86_64 -y
出現問題:
error:
failed dependencies:
perl(data::dumper) is needed by mysql-community-test-8.0.13-1.el7.x86_64
解決辦法:
yum -y install autoconf
出現問題:
error:
failed dependencies:
perl(json) is needed by mysql-community-test-8.0.13-1.el7.x86_64
解決辦法:
yum install perl.x86_64 perl-devel.x86_64 -y
yum install perl-json.noarch -y
直接使用如下命令即可:
使用如下命令操作mysql:
systemctl restart mysqld.service
systemctl start mysqld.service
systemctl stop mysqld.service
# error: failed dependencies: \
libnuma.so.1()(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64 \
libnuma.so.1(libnuma_1.1)(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64 \
libnuma.so.1(libnuma_1.2)(64bit) is needed by mysql-community-server-5.7.19-1.el6.x86_64
解決方法:
$ yum
install
-y numactl
[root@localhost mysql]# rpm -ivh mysql-community-libs-8.0.17-1.el6.x86_64.rpm
warning: mysql-community-libs-8.0.17-1.el6.x86_64.rpm: header v3 dsa/sha1 signature, key id 5072e1f5: nokey
error: failed dependencies:
libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-libs-8.0.17-1.el6.x86_64
libssl.so.10(libssl.so.10)(64bit) is needed by mysql-community-libs-8.0.17-1.el6.x86_64
這裡用的是 中標麒麟6.4 ,從網上搜尋了libcrypto.so.10的rpm包:
② 使用「 rpm -ivh openssl-1.0.1e-57.el6.x86_64.rpm」 提示與伺服器已有的 openssl-1.0.0-27.el6.ns6.01.x86_64 重複了;
③ 使用命令 「 rpm -ivh openssl-1.0.1e-57.el6.x86_64.rpm --force」 強制安裝;
④ 重新執行安裝 「rpm -ivh mysql-community-libs-8.0.17-1.el6.x86_64.rpm」 ,這一次可以安裝成功了;
centos7下快速安裝mysql
2015 06 26 09 11 12481人閱讀收藏 舉報 centos 12 1 2 3 wget rpm ivh mysql community release el7 5.noarch.rpm yum install mysql community server 成功安裝之後重啟mysql服...
centos7下快速安裝mysql
1.centos7 自帶mariadb 可以通過yum install mariadb mariadb libs mariadb devel安裝 2.安裝mysql centos 7的yum源中貌似沒有正常安裝 mysql wget rpm ivh mysql community release e...
CentOS7下的MySQL安裝
1.準備安裝包 安裝環境檢查 1 上傳如下centos二進位制安裝包到 opt目錄 二進位制安裝包區分linux作業系統 mysql server 5.6.38 1.el7.x86 64.rpm 服務端 mysql client 5.6.38 1.el7.x86 64.rpm 客戶端 2 檢查系統是...