influxdata / influxdb-java

Java client for InfluxDB
MIT License
1.18k stars 478 forks source link

Communications link failure #490

Closed gentixharavina closed 6 years ago

gentixharavina commented 6 years ago

So I did everything as in an example on how to connect and send data to the InfluxDB but after running the application it fails and i get this error: com.mysql.cj.jdbc.exceptions.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.

Can anyone please help, im new to Influx and im trying to send some data through my Java application to InfluxDB.

Thank you

fmachado commented 6 years ago

@gentixharavina the error you reported here is not related with InfluxDB but with MySQL:

**com.mysql**.cj.jdbc.exceptions.CommunicationsException: Communications link failure

I'm closing this ticket as it's not InfluxDB related.