# Can\`t use \_river to pulling data and index data into Cluster on Ubuntu

**URL:** <https://discuss.elastic.co/t/can-t-use--river-to-pulling-data-and-index-data-into-cluster-on-ubuntu/11211>\
**Category:** Elasticsearch\
**Created:** [March 19, 2013, 6:03pm UTC](https://discuss.elastic.co/t/can-t-use--river-to-pulling-data-and-index-data-into-cluster-on-ubuntu/11211 "2013-03-19T18:03:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhan248](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nhan248](https://discuss.elastic.co/u/nhan248)\
**Post date:** [March 19, 2013, 6:03pm UTC](https://discuss.elastic.co/t/can-t-use--river-to-pulling-data-and-index-data-into-cluster-on-ubuntu/11211/1 "2013-03-19T18:03:29Z")

</div>

Dear all  
i going to build frontend for monitor data ,i chose elasticsearch-head ,when i try to test by pulling data from mysql db user \_river . i read guide from  
1/ [https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart](https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart)  
2/[https://gist.github.com/wingdspur/2026107](https://gist.github.com/wingdspur/2026107) (elasticsearch run as service on Ubuntu)

but resust in elasticsearch without data index??????????????? ,i checked,db source ok,plugins \_river,mysql\_java\_connec... ok too ,i don`t no why?  
{

```
took: 1
timed_out: false
_shards: {
    total: 1
    successful: 1
    failed: 0
}
hits: {
    total: 1
    max_score: 1
    hits: [
        {
            _index: _river
            _type: my_jdbc_river
            _id: _meta
            _score: 1
            _source: {
                type: jdbc
                jdbc: {
                    driver: com.mysql.jdbc.Driver
                    url: jdbc:mysql://localhost:3306/gate
                    user: root
                    password: root
                    sql: select * from news 
                }
                index: {
                    index: news
                    type: news
                }
            }
        }
    ]
}

```

}

---

<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, 2:45am UTC](https://discuss.elastic.co/t/can-t-use--river-to-pulling-data-and-index-data-into-cluster-on-ubuntu/11211/2 "2017-07-06T02:45:44Z")

</div>

Closed on July 6, 2017, 2:45am UTC


