`
Appleses
  • 浏览: 347874 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

安装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-8.0.27 jar包

    mysql-connector-java-8.0.27 jar包 mysql-connector-java-8.0.27 jar包 mysql-connector-java-8.0.27 jar包 mysql-connector-java-8.0.27 jar包 mysql-connector-java-8.0.27 jar包 mysql-connector-java-8.0.27 ...

    mysql-connector-java-5.1.49

    mysql57驱动jar包mysql-connector-java-5.1.49 mysql57驱动jar包mysql-connector-java-5.1.49 mysql57驱动jar包mysql-connector-java-5.1.49 mysql57驱动jar包mysql-connector-java-5.1.49 mysql57驱动jar包mysql-...

    开发工具 mysql-connector-java-5.1.40-bin

    开发工具 mysql-connector-java-5.1.40-bin开发工具 mysql-connector-java-5.1.40-bin开发工具 mysql-connector-java-5.1.40-bin开发工具 mysql-connector-java-5.1.40-bin开发工具 mysql-connector-java-5.1.40-bin...

    JavaEE源代码 mysql-connector-java-5.0.8-bin

    JavaEE源代码 mysql-connector-java-5.0.8-binJavaEE源代码 mysql-connector-java-5.0.8-binJavaEE源代码 mysql-connector-java-5.0.8-binJavaEE源代码 mysql-connector-java-5.0.8-binJavaEE源代码 mysql-connector...

    mysql-connector-java.zip 两个版本:5.1.47、8.0.28

    java连接mysql数据库的驱动,里边包含两个版本:5.1.47、8.0.28 也可从以下两个地址免费下载: 1. https://repo1.maven.org/maven2/mysql/mysql-connector-java/ 2. ...

    mysql-connector-java-5.1.31.rar

    mysql-connector-java-5.1.31.rarmysql-connector-java-5.1.31.rarmysql-connector-java-5.1.31.rarmysql-connector-java-5.1.31.rarmysql-connector-java-5.1.31.rarmysql-connector-java-5.1.31.rarmysql-...

    mysql-connector-java-8.0.22.jar

    包含mysql-connector-java-8.0.22.jar包含mysql-connector-java-8.0.22.jar包含mysql-connector-java-8.0.22.jar包含mysql-connector-java-8.0.22.jar包含mysql-connector-java-8.0.22.jar包含mysql-connector-java-...

    mysql-connector-java-5.1.40.zip和mysql-connector-java-5.1.10.jar

    MySQL是世界上最受欢迎的开源数据库系统之一,而MySQL Connector/J是MySQL官方提供的用于Java应用程序与MySQL数据库之间连接的驱动程序。本文将深入探讨这两个文件:"mysql-connector-java-5.1.40.zip" 和 "mysql-...

    mysql-binlog-connector-java-0.21.0-API文档-中文版.zip

    赠送jar包:mysql-binlog-connector-java-0.21.0.jar; 赠送原API文档:mysql-binlog-connector-java-0.21.0-javadoc.jar; 赠送源代码:mysql-binlog-connector-java-0.21.0-sources.jar; 赠送Maven依赖信息文件:...

    mysql-connector-java-x.x.x MySQL驱动包下载

    mysql-connector-java-5.0.5.jar mysql-connector-java-5.1.6.jar mysql-connector-java-5.1.18.jar mysql-connector-java-5.1.21.jar mysql-connector-java-5.1.35.jar mysql-connector-java-5.1.39.jar mysql-...

    mysql-connector-java-8.0.26.jar

    此外,压缩包中还包含了一个名为"mysql-connector-java-8.0.26.jar.txt"的文本文件,这可能是MySQL Connector/J的使用说明、API文档或发布日志,提供了关于这个驱动的更详细信息,如如何配置、已知问题和解决办法等...

    mysql-connector-java-8.0.13.jar

    MySQL Connector/J 8.0.13 是MySQL数据库与Java应用程序之间的重要桥梁,它是一个用于连接Java应用程序到MySQL服务器的JDBC驱动程序。这个压缩包包含的“mysql-connector-java-8.0.13.jar”是这个驱动的实现文件,而...

    centos下hive连接mysql驱动 ,mysql-connector-java-8.0.26-1.el7.noarch.

    3.安装完成后会在 /usr/share/java下会有mysql-connector-java.jar 4.按你的实际需求,将此mysql-connector-java.jar文件复制到你需要的地方,一班是在大数据组件的conf目录,比如hive是/usr/software/hive312/lib/

    mysql-connector-java-5.1.49.jar

    MySQL Connector/J是MySQL数据库系统与Java应用程序之间的重要桥梁,它是一个实现了JDBC(Java Database Connectivity)规范的驱动程序,使得Java开发者能够通过编写Java代码来访问和操作MySQL数据库。"mysql-...

    mysql-connector-java-5.1.44

    MySQL Connector/J是MySQL数据库与Java应用程序之间的桥梁,它是一个实现了Java Database Connectivity (JDBC) API的驱动程序,允许Java开发者在Java应用中访问和操作MySQL数据。`mysql-connector-java-5.1.44`是这...

    mysql-connector-java-8.0.15.jar

    MySQL Connector/J 8.0.15 是 MySQL 数据库与 Java 应用程序之间的关键桥梁,它是一个 JDBC(Java Database Connectivity)驱动程序,允许 Java 开发人员在 Java 应用程序中连接到 MySQL 数据库。MySQL Connector/J ...

    mysql-connector-java-5.1.27

    以下是关于`mysql-connector-java-5.1.27`的一些关键知识点: 1. **JDBC驱动**:JDBC是Java平台的一个标准接口,它定义了如何在Java程序中访问各种数据库的一组规范。MySQL Connector/J是MySQL的JDBC驱动实现,使得...

    mysql-connector-java-8.0.28.tar.gz

    MySQL Connector/J是MySQL数据库与Java应用程序之间的重要桥梁,它是一个实现了Java Database Connectivity (JDBC) API的驱动程序,使得Java开发者能够方便地在MySQL数据库上执行SQL查询和操作。在这个"mysql-...

    mysql-connector-java-8.0.23.jar

    MySQL Connector/J 8.0.23 是MySQL数据库与Java应用程序之间的重要桥梁,它是一个用于连接Java应用程序到MySQL服务器的JDBC驱动程序。这个jar文件是MySQL官方提供的,确保了与MySQL数据库的高效且可靠的通信。在Java...

Global site tag (gtag.js) - Google Analytics