Hallo,
ich habe vor kurzer Zeit das Problem bekommen, dass ich über JDBC
remote keine Verbindung mehr zur DB aufbauen kann.
In der "my.cnf" habe ich unter "bindadress =" die ServerIP eingetragen
und auch schon alle GRANTs für die Datenbank gesetzt.
Und komischerweise lief die JDBC-Connection auch schon.
Jetzt kommt allerdings wieder folgendes, als ob irgendwas nicht mehr
funktioniert:
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(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1122)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2260)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:787)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
Jemand eine Idee, wie ich das analysieren kann?
Viele Grüße