com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java connecting to mysql database fails
    via Stack Overflow by kalafun
    ,
    • com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:988)

    Users with the same issue

    mauritiusmauritius
    2 times, last one,
    kuldeepkuldeep
    6 times, last one,
    tvrmsmithtvrmsmith
    2 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    davidvanlaatumdavidvanlaatum
    2 times, last one,
    10 more bugmates