Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Anthony
, 1 year ago
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.
via itquestionz.com by Unknown author, 2 years ago
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.
via Stack Overflow by helper
, 2 years ago
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.
via Stack Overflow by Sriram M
, 9 months ago
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.
via GitHub by pashtika
, 2 years ago
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.
via Stack Overflow by MotaF
, 1 year ago
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.
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:529)	at java.net.Socket.connect(Socket.java:478)	at java.net.Socket.(Socket.java:375)	at java.net.Socket.(Socket.java:218)	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2333)	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)	at java.sql.DriverManager.getConnection(DriverManager.java:582)	at java.sql.DriverManager.getConnection(DriverManager.java:185)	at Connect.main(Connect.java:16)