You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/07/04 08:44:22 UTC

[GitHub] [incubator-doris] ltylty commented on issue #1427: com.mysql.cj.jdbc.Driver驱动类连不上doris

ltylty commented on issue #1427: com.mysql.cj.jdbc.Driver驱动类连不上doris
URL: https://github.com/apache/incubator-doris/issues/1427#issuecomment-508396940
 
 
   @imay 
   Caused by: java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
   	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:79)
   	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835)
   	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455)
   	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
   	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199)
   	at java.sql.DriverManager.getConnection(DriverManager.java:664)
   	at java.sql.DriverManager.getConnection(DriverManager.java:247)
   	at cn.hutool.db.ds.simple.SimpleDataSource.getConnection(SimpleDataSource.java:185)
   	at cn.hutool.db.dialect.DriverUtil.identifyDriver(DriverUtil.java:50)
   	... 105 common frames omitted
   Caused by: com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
   	at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:85)
   	at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:205)
   	at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1449)
   	at com.mysql.cj.NativeSession.connect(NativeSession.java:165)
   	at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:955)
   	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825)
   	... 112 common frames omitted

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org