• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

安装mysql-connector-java出现以下有关问题,解决_mysql

mysql 搞代码 7年前 (2018-06-07) 178次浏览 已收录 0个评论

安装mysql-connector-java出现以下问题,解决
[root@master-hadoop hive]# yum install mysql-connector-java -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package mysql-connector-java.noarch 1:5.1.17-6.el6 will be installed
–> Processing Dependency: jta >= 1.0 for package: 1:mysql-connector-java-5.1.17-6.el6.noarch
–> Processing Dependency: slf4j for package: 1:mysql-connector-java-5.1.17-6.el6.noarch
–> Running transaction check
—> Package geronimo-specs-compat.noarch 0:1.0-3.5.M2.el6 will be installed
–> Processing Dependency: geronimo-specs = 1.0-3.5.M2.el6 for package: geronimo-specs-compat-1.0-3.5.M2.el6.noarch
—> Package slf4j.noarch 0:1.5.8-8.el6 will be installed
–> Running transaction check
—> Package geronimo-specs.noarch 0:1.0-3.5.M2.el6 will be installed
–> Processing Dependency: mx4j >= 2.0.1 for package: geronimo-specs-1.0-3.5.M2.el6.noarch
–> Processing Dependency: apache-tomcat-apis for package: geronimo-specs-1.0-3.5.M2.el6.noarch
–> Running transaction check
—> Package apache-tomcat-apis.noarch 0:0.1-1.el6 will be installed
—> Package mx4j.noarch 1:3.0.1-9.13.el6 will be installed
–> Processing Dependency: log4j >= 1.2.7 for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: javamail >= 1.2-5jpp for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: jakarta-commons-logging >= 1.0.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: bcel >= 5.0 for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: axis >= 1.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: xml-commons-resolver for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: xml-commons-apis for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: xml-commons for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Processing Dependency: jaf for package: 1:mx4j-3.0.1-9.13.el6.noarch
–> Running transaction check
—> Package axis.noarch 0:1.2.1-7.3.el6_3 will be installed
–> Processing Dependency: wsdl4j for package: axis-1.2.1-7.3.el6_3.noarch
–> Processing Dependency: jaxp_parser_impl for package: axis-1.2.1-7.3.el6_3.noarch
base/filelists_db                                                                   | 5.9 MB     00:03    
extras/filelists_db                                                                 |  11 kB     00:00    
http://centos.ustc.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.cug.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirror.bit.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 6 – “Couldn’t resolve host ‘mirror.bit.edu.cn'”
Trying other mirror.
http://mirror.neu.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.pubyun.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.163.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.hustunique.com/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.btte.net/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
http://mirrors.grandcloud.cn/centos/6.5/updates/x86_64/repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404”
Trying other mirror.
Error: failure: repodata/9f70956f3d23ddff60a242f784bce13299bae088f2ee9ffaeeca3348176e67b1-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

解决方法:
yum clean all
yum makecache

可参考:http://www.it345.net/post/92.html

欢迎大家阅读《安装mysql-connector-java出现以下有关问题,解决_mysql》,跪求各位点评,by 搞代码


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:安装mysql-connector-java出现以下有关问题,解决_mysql
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址