当前位置:首页 > 开发 > 数据库 > 正文

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

发表于: 2014-08-15   作者:Appleses   来源:转载   浏览次数:
摘要: [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.ali
[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出现以下问题,解决

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
最近在用uiautomator做安卓自动化测试,由于没有测试设备,所以只好自己在电脑里面安装了一个GenyMo
昨天使用ghost给人安装系统时,把另一个分区的数据都搞没了,安装完也只剩下一个分区,相信了解的同
几天前学习数据库的知识,于是安装了一个SQL server 2008企业版,装在windows7旗舰版的电脑上,来来
安装完zend server ce 5.6.0 window版本:ZendServer-CE-php-5.4.0-5.6.0-Windows_x86.exe 启动时出
configure 文件里 print sys.prefix 等不能支持python3的原因 依据http://blog.csdn.net/jklfjsdj79
首先一次是在32位的centos上安装的curl: --prefix=/usr/local/curl --with-ssl=/usr/local/openssl
今天想在本地搭建一个blog(存一些笔记),最后采用wordpress(wp)开源博客程序插件模版都很多。 到
一开始 到nginx官网 http://nginx.org/en/download.html 下载 1.4.2版本,解压安装到自己希望设置的
看到Visual Studio 2005 SP1提供下载,把它下载了下来。准备对安装在电脑上的Visual Studio 2005进
我用的3G数据卡是华为EC1260的,在安装驱动时,出现了要求安装Date interface驱动的问题,因为找不
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号