# Not able to config JDBC input

**URL:** <https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505>\
**Category:** Logstash\
**Created:** [July 14, 2015, 9:06am UTC](https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505 "2015-07-14T09:06:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PavanRGowda](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@PavanRGowda](https://discuss.elastic.co/u/PavanRGowda)\
**Post date:** [July 14, 2015, 9:06am UTC](https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505/1 "2015-07-14T09:06:17Z")

</div>

Hello everyone, below is my configuration -

```
input {
	jdbc {
		jdbc_driver_class => "org.apache.derby.jdbc.EmbeddedDriver"	 
		jdbc_connection_string => "jdbc:derby://localhost:3306/test"
        	jdbc_user => "root"
        	jdbc_password => "password"
        	statement => "select * from user"             		
	     }
      }

filter {  
         #csv {
                #columns => ["cdatetime", "address", "district", "beat", "grid", "crimedescr", "ucr_ncic_code",
                # "latitude","longitude"]          
                #separator => ","
             #}
       }

output { 
         elasticsearch { host => localhost protocol => http index => test user => pavan password => password } 
         stdout { codec => rubydebug } 
       }

```

When I run the config file, I get the following error -

```
The error reported is: 
  org.apache.derby.jdbc.EmbeddedDriver not loaded

```

Can anyone please help me resolve it? My current Java version is -

```
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
```

---

<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:** [July 15, 2015, 3:56am UTC](https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505/2 "2015-07-15T03:56:37Z")

</div>

We don't have much in the way of docs here so I have asked a dev to drop in and comment 🙂

---

<div class="post-metadata">

**Author:** ![suyograo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suyograo/32/44898_2.png) [@suyograo](https://discuss.elastic.co/u/suyograo)\
**Post date:** [July 15, 2015, 4:04am UTC](https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505/3 "2015-07-15T04:04:47Z")

</div>

Answered here: [https://github.com/logstash-plugins/logstash-input-jdbc/issues/16](https://github.com/logstash-plugins/logstash-input-jdbc/issues/16)

We don't have docs because this plugin is still under development and not released as GA.

---

<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:** [July 6, 2017, 5:34am UTC](https://discuss.elastic.co/t/not-able-to-config-jdbc-input/25505/4 "2017-07-06T05:34:45Z")

</div>


