Logstash mysql连不上问题
[2022-10-20T19:57:30,329][ERROR][logstash.inputs.jdbc ][main][ec69fed23c6f0e8bfd9a1ce0ac1cd2c62470ddff226bd1c0b90910741256b6bf]
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.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(com/mysql/cj/jdbc/exceptions/SQLError.java:174) ~[mysql-connector-java-8.0.13.jar:8.0.13]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.13.jar:8.0.13]
修改jdbc链接 增加&useSSL=false
jdbc_connection_string => "jdbc:mysql://10.0.81.12:3306/test?useUnicode=true&characterEncoding=utf8**&useSSL=false**