# Help, I'm blocked, LOADERROR

**URL:** <https://discuss.elastic.co/t/help-im-blocked-loaderror/81066>\
**Category:** Logstash\
**Created:** [April 4, 2017, 12:22am UTC](https://discuss.elastic.co/t/help-im-blocked-loaderror/81066 "2017-04-04T00:22:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Juke\_Box\_Hero](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@The\_Juke\_Box\_Hero](https://discuss.elastic.co/u/The_Juke_Box_Hero)\
**Post date:** [April 4, 2017, 12:22am UTC](https://discuss.elastic.co/t/help-im-blocked-loaderror/81066/1 "2017-04-04T00:22:41Z")

</div>

Sorry to bother, but I'm new to logstash, well to the whole elastic stack. I'm trying to connect to to my wordpress database using jdbc, my configuration seems ok, I was getting some config errors but I managed to sort some of them out, right now I'm getting this error:

logstash.inputs.jdbc - unable to connect to database. Tried 1 times {error\_message=\>"LoadError: no such file to load --sequel/adapters/https

My config file reads:

```
    input {
  jdbc {
    jdbc_connection_string => "jdbc:mysql://192.168.X.XX:1/wordpress"
    jdbc_user =>"this"
    jdbc_password=>"that"
    jdbc_driver_library =>"C:/logstash/mysql-connector-java-5.1.33.jar"
    jdbc_driver_class => "Java::com.mysql.jdbc.Driver"
    statement=> "SELECT * FROM wp_posts WHERE post_status = 'publish' ORDER BY post_date DESC LIMIT 10"
 }
}

filter {
grok {
    match => {
      "message" => "%{COMBINEDAPACHELOG}"
    }
  }
  mutate {
    convert => { "bytes" => "integer" }
  }
  date {
    match => ["timestamp", "dd/MMM/YYYY:HH:mm:ss Z"]
    locale => en
    remove_field => "timestamp"
  }
  geoip {
    source => "clientip"
  }
  useragent {
    source => "agent"
    target => "useragent"
  }
  ruby {
    init => "last = ::Time.parse('2014-09-25T04:00:00+00:00'); @shift = ::Time.now - last"
    code => "event.set('@timestamp', LogStash::Timestamp.new(event.get('@timestamp') + @shift))"
  }
}

output { 
   stdout { codec => dots }
  elasticsearch {
  "hosts"=> "localhost:9200"
  "index"=>"test-migration"
  "document_type" => "data"
  } 
}

```

I really don't know how to debug this, I googled it and looked everywhere with no luck, can anyone give me direction please?

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 4, 2017, 12:28am UTC](https://discuss.elastic.co/t/help-im-blocked-loaderror/81066/2 "2017-04-04T00:28:11Z")

</div>

> [@The\_Juke\_Box\_Hero](#):
>
> jdbc\_driver\_library =\>"C:/logstash/mysql-connector-java-5.1.33.jar"

Does that file exist and can LS read it?

---

<div class="post-metadata">

**Author:** ![The\_Juke\_Box\_Hero](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@The\_Juke\_Box\_Hero](https://discuss.elastic.co/u/The_Juke_Box_Hero)\
**Post date:** [April 4, 2017, 5:48am UTC](https://discuss.elastic.co/t/help-im-blocked-loaderror/81066/3 "2017-04-04T05:48:44Z")

</div>

Yes, i was having issues about that file before but now it's reading it as far I as know, the error for that file before was completely different. Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2017, 5:48am UTC](https://discuss.elastic.co/t/help-im-blocked-loaderror/81066/4 "2017-05-02T05:48:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
