问题描述:
[root@ebs-139266 home]# rpm -ivh mysql-community-*.rpm
warning: mysql-community-client-5.7.42-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
error: Failed dependencies:
perl(JSON) is needed by mysql-community-test-5.7.42-1.el7.x86_64
[root@ebs-139266 home]# yum install perl-JSON
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirror.nyist.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package perl-JSON.noarch 0:2.59-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================================================================================================
Installing:
perl-JSON noarch 2.59-2.el7 base 96 k
Transaction Summary
==============================================================================================================================================================================================================================================================================
Install 1 Package
Total download size: 96 k
Installed size: 264 k
Is this ok [y/d/N]: y
Downloading packages:
perl-JSON-2.59-2.el7.noarch.rpm | 96 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-JSON-2.59-2.el7.noarch 1/1
Verifying : perl-JSON-2.59-2.el7.noarch 1/1
Installed:
perl-JSON.noarch 0:2.59-2.el7
Complete!
解决办法:
执行命令 :yum install perl-JSON 进行在线安装即可解决文章来源地址https://www.toymoban.com/news/detail-727541.html
文章来源:https://www.toymoban.com/news/detail-727541.html
到了这里,关于mysql 安装问题 perl(JSON) is needed by mysql-community-test的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!