title: Logstash Error: unable to load mysql-connector-java- from :jdbc_driver_library, no such file to load -- mysql-connector-java-
body: <p>I want to move some data from mysql to elasticsearch using logstash 
  but iget Error: unable to load mysql-connector-java- from :jdbc_driver_library, no such file to load -- mysql-connector-java-,and i already move the mysql connector to <code>[logstash_folder]\logstash-core\lib\jars</code>and this is My config</p>
  
  <pre><code>input{
  jdbc{
      jdbc_driver_library =&gt; "mysql-connector-java-8.0.18.jar"
      jdbc_driver_class =&gt; "com.mysql.cj.jdbc.Driver"
      jdbc_connection_string =&gt; "jdbc:mysql://localhost:3306/reporting"
      jdbc_user =&gt; "*"
      jdbc_password =&gt; "*"
      tracking_column =&gt; "id_activity"
      use_column_value=&gt;true
      statement =&gt; "select tbactivity.id_project,tbuser.name,tbproject.project_name,tbactivity.dateinsert,tbactivity.datetime_start,tbactivity.datetime_end,tbactivity.description from tbactivity inner join tbproject on tbactivity.id_project =  tbproject.id_project inner join tbuser on tbactivity.id_user = tbuser.id_user where tbproject.id_category = 2"
      }
  }
  filter {
    mutate {
      copy =&gt; { "id_activity" =&gt; "[@metadata][_id]"}
    }
  }
  output{
      elasticsearch{
      user =&gt; "elastic"
      password =&gt; "changeme"
      hosts =&gt; "localhost:9200"
      index =&gt; "activity"
      document_type =&gt; 'text'
      document_id =&gt; "%{[id_activity]}"
      }
  }
  </code></pre>
  
  <p>and the error i get</p>
  
  <pre><code> Error: unable to load mysql-connector-java-8.0.18.jar from :jdbc_driver_library, no such file to load -- mysql-connector-java-8.0.18
    Exception: LogStash::PluginLoadingError
    Stack: D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/plugin_mixins/jdbc/jdbc.rb:152:in `block in load_driver_jars'
  org/jruby/RubyArray.java:1800:in `each'
  D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/plugin_mixins/jdbc/jdbc.rb:145:in `load_driver_jars'
  D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/plugin_mixins/jdbc/jdbc.rb:167:in `open_jdbc_connection'
  D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/plugin_mixins/jdbc/jdbc.rb:243:in `execute_statement'
  D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/inputs/jdbc.rb:309:in `execute_query'
  D:/logstash-7.5.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-jdbc-4.3.19/lib/logstash/inputs/jdbc.rb:281:in `run'
  D:/logstash-7.5.2/logstash-core/lib/logstash/java_pipeline.rb:332:in `inputworker'
  D:/logstash-7.5.2/logstash-core/lib/logstash/java_pipeline.rb:324:in `block in start_input'
  [2020-02-03T14:54:49,708][ERROR][logstash.javapipeline    ][main] A plugin had an unrecoverable error. Will restart this plugin.
    Pipeline_id:main
  </code></pre>
  
  <p>I hope you can help me</p>
  
  <p>Thank You</p>
  
  <p>Regrads</p>
  
  <p>Kevin</p>