I need help to connect to the sql server database.
I downloaded a connector and already put n specific folder, but it's giving an error with the following.
Note; I can already connect to mysql database but sql server will be the first time, can you please help me?
[ERROR] 2021-06-28 07:55:31.242 [[main]<jdbc] jdbc - Unable to connect to database. Tried 1 times {:error_message=>"Java::JavaLang::NoClassDefFoundError: javax/xml/bind/DatatypeConverter"}
[ERROR] 2021-06-28 07:55:31.244 [[main]<jdbc] javapipeline - A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:main
jdbc{
#jdbc_driver_library => "/home/elasticstack/logstash/mysql-connector-java-8.0.16/mysql-connector-java-8.0.16.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "jdbc:sqlserver://X.X.X.X:1433;databaseName=XXXXX;integratedSecurity=false"
#jdbc_driver_library => "/usr/share/logstash/logstash-core/lib/jars/sqljdbc42.jar"
jdbc_user => "xxxx"
jdbc_password => "xxxx"
type => "lanlinktactium"
# dbc
statement => "
SELECT TOP (100)
cal.IS_CAL,cal.DT_CAL_INITIATED,srv.NM_SRV,dvc.VL_DVC_LGC_IDENTIFIER as RAMAL
Another thing, when it comes to a mysql database I just need the IP and the port, for the sql server I received a different type like that: bancosql\bc01