sqoop连接mysql测试失败报错

Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
        at sun.security.ssl.HandshakeContext.(HandshakeContext.java:171)
        at sun.security.ssl.ClientHandshakeContext.(ClientHandshakeContext.java:98)
        at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:428)
        at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:149)


ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

sqoop连接mysql测试失败报错_第1张图片

sqoop连接mysql测试失败报错_第2张图片

Solution:我是换了一个mysql驱动后就成功了。可能是版本问题吧。这里记录下。 

 

你可能感兴趣的:(mysql,java,数据库)