ningbing commented on issue #12278:
URL: https://github.com/apache/doris/issues/12278#issuecomment-1237780362

   @stalary the JDK is 1.8+, the Error Log is:
   
   The last packet sent successfully to the server was 0 milliseconds ago. The 
driver has not received any packets from the server.
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
        at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
        at 
com.mysql.cj.jdbc.ConnectionImpl.pingInternal(ConnectionImpl.java:1517)
        at 
com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
        ... 57 more
   Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications 
link failure
   
   The last packet sent successfully to the server was 0 milliseconds ago. The 
driver has not received any packets from the server.
        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:105)
        at 
com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
        at 
com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
        at 
com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:541)
        at 
com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:711)
        at 
com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:650)
        at 
com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:130)
        at com.mysql.cj.NativeSession.sendCommand(NativeSession.java:317)
        at com.mysql.cj.NativeSession.ping(NativeSession.java:1189)
        at 
com.mysql.cj.jdbc.ConnectionImpl.pingInternal(ConnectionImpl.java:1516)
        ... 58 more
   Caused by: java.io.EOFException: Can not read response from server. Expected 
to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
        at 
com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:67)
        at 
com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
        at 
com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
        at 
com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
        at 
com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
        at 
com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
        at 
com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
        at 
com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:535)
        ... 64 more


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to