# “IndexMissingException\[\[jdbc\] missing\]”, “status” : 404

**URL:** <https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654>\
**Category:** Elasticsearch\
**Created:** [July 4, 2013, 12:39am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654 "2013-07-04T00:39:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![11123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/11123/32/3559_2.png) [@11123](https://discuss.elastic.co/u/11123)\
**Post date:** [July 4, 2013, 12:39am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654/1 "2013-07-04T00:39:14Z")

</div>

I want to index and search mysql database using elastic search & I followed  
this tutorial

elasticsearch-river-jdbc[https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart](https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart)

At first i downloaded elastic search and installed river-jdbc in its plugin  
folder. then added mysql-jdbc inside  
ES\_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch  
and Started another terminal window, and created a new JDBC river with name  
my\_jdbc\_river with this curl command

curl -XPUT 'localhost:9200/\_river/my\_jdbc\_river/\_meta' -d '{  
"type" : "jdbc",  
"jdbc" : {  
"driver" : "com.mysql.jdbc.Driver",  
"url" : "jdbc:mysql://localhost:3306/bablool",  
"user" : "root",  
"password" : "babloo",  
"sql" : "select \* from details"  
},  
"index" : {  
"index" : "jdbc",  
"type" : "jdbc"  
}  
}'

then when I run this command: curl -XGET  
'localhost:9200/jdbc/jdbc/\_search?pretty&q=\*'

and im getting following error:

"error": "IndexMissingException[[jdbc] missing]", "status" : 404

plz help me....

--  
_陳立紅_

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [July 4, 2013, 8:56am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654/2 "2013-07-04T08:56:12Z")

</div>

Hello,

Do you see anything interesting in the logs?

On Thu, Jul 4, 2013 at 3:39 AM, 陈立红 [qinritukou@gmail.com](mailto:qinritukou@gmail.com) wrote:

> I want to index and search mysql database using Elasticsearch & I  
> followed this tutorial
> 
> elasticsearch-river-jdbc[https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart](https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart)
> 
> At first i downloaded Elasticsearch and installed river-jdbc in its  
> plugin folder. then added mysql-jdbc inside  
> ES\_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch  
> and Started another terminal window, and created a new JDBC river with name  
> my\_jdbc\_river with this curl command
> 
> curl -XPUT 'localhost:9200/\_river/my\_jdbc\_river/\_meta' -d '{  
> "type" : "jdbc",  
> "jdbc" : {  
> "driver" : "com.mysql.jdbc.Driver",  
> "url" : "jdbc:mysql://localhost:3306/bablool",  
> "user" : "root",  
> "password" : "babloo",  
> "sql" : "select \* from details"  
> },  
> "index" : {  
> "index" : "jdbc",  
> "type" : "jdbc"  
> }  
> }'
> 
> then when I run this command: curl -XGET  
> 'localhost:9200/jdbc/jdbc/\_search?pretty&q=\*'
> 
> and im getting following error:
> 
> "error": "IndexMissingException[[jdbc] missing]", "status" : 404
> 
> plz help me....
> 
> --  
> _陳立紅_
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 4, 2013, 9:13am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654/3 "2013-07-04T09:13:59Z")

</div>

Radu,

I think it's somehow the same thread as this one: [Rediriger vers Google&nbsp;Groupes](https://groups.google.com/forum/?hl=fr&fromgroups#!msg/elasticsearch/fJkeJXoRrLo/b21L1a6fu8sJ)  
(same login, password and database)…

I don't understand if something was unclear.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 4 juil. 2013 à 10:56, Radu Gheorghe [radu.gheorghe@sematext.com](mailto:radu.gheorghe@sematext.com) a écrit :

> Hello,
> 
> Do you see anything interesting in the logs?
> 
> On Thu, Jul 4, 2013 at 3:39 AM, 陈立红 [qinritukou@gmail.com](mailto:qinritukou@gmail.com) wrote:  
> I want to index and search mysql database using Elasticsearch & I followed this tutorial
> 
> elasticsearch-river-jdbc
> 
> At first i downloaded Elasticsearch and installed river-jdbc in its plugin folder. then added mysql-jdbc inside ES\_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch and Started another terminal window, and created a new JDBC river with name my\_jdbc\_river with this curl command
> 
> curl -XPUT 'localhost:9200/\_river/my\_jdbc\_river/\_meta' -d '{  
> "type" : "jdbc",  
> "jdbc" : {  
> "driver" : "com.mysql.jdbc.Driver",  
> "url" : "jdbc:mysql://localhost:3306/bablool",  
> "user" : "root",  
> "password" : "babloo",  
> "sql" : "select \* from details"  
> },  
> "index" : {  
> "index" : "jdbc",  
> "type" : "jdbc"  
> }  
> }'  
> then when I run this command: curl -XGET 'localhost:9200/jdbc/jdbc/\_search?pretty&q=\*'
> 
> and im getting following error:
> 
> "error": "IndexMissingException[[jdbc] missing]", "status" : 404  
> plz help me....
> 
> --  
> 陳立紅
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> [http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [July 4, 2013, 10:05am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654/4 "2013-07-04T10:05:31Z")

</div>

Thanks, David.

Now that I actually went through the whole thread, double-thanks!

On Thu, Jul 4, 2013 at 12:13 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Radu,
> 
> I think it's somehow the same thread as this one:  
> [Rediriger vers Google&nbsp;Groupes](https://groups.google.com/forum/?hl=fr&fromgroups#!msg/elasticsearch/fJkeJXoRrLo/b21L1a6fu8sJ)  
> (same login, password and database)…
> 
> I don't understand if something was unclear.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 4 juil. 2013 à 10:56, Radu Gheorghe [radu.gheorghe@sematext.com](mailto:radu.gheorghe@sematext.com) a  
> écrit :
> 
> Hello,
> 
> Do you see anything interesting in the logs?
> 
> On Thu, Jul 4, 2013 at 3:39 AM, 陈立红 [qinritukou@gmail.com](mailto:qinritukou@gmail.com) wrote:
> 
> > I want to index and search mysql database using Elasticsearch & I  
> > followed this tutorial
> > 
> > elasticsearch-river-jdbc[https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart](https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart)
> > 
> > At first i downloaded Elasticsearch and installed river-jdbc in its  
> > plugin folder. then added mysql-jdbc inside  
> > ES\_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch  
> > and Started another terminal window, and created a new JDBC river with name  
> > my\_jdbc\_river with this curl command
> > 
> > curl -XPUT 'localhost:9200/\_river/my\_jdbc\_river/\_meta' -d '{  
> > "type" : "jdbc",  
> > "jdbc" : {  
> > "driver" : "com.mysql.jdbc.Driver",  
> > "url" : "jdbc:mysql://localhost:3306/bablool",  
> > "user" : "root",  
> > "password" : "babloo",  
> > "sql" : "select \* from details"  
> > },  
> > "index" : {  
> > "index" : "jdbc",  
> > "type" : "jdbc"  
> > }  
> > }'
> > 
> > then when I run this command: curl -XGET  
> > 'localhost:9200/jdbc/jdbc/\_search?pretty&q=\*'
> > 
> > and im getting following error:
> > 
> > "error": "IndexMissingException[[jdbc] missing]", "status" : 404
> > 
> > plz help me....
> > 
> > --  
> > _陳立紅_
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> [http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:28am UTC](https://discuss.elastic.co/t/indexmissingexception-jdbc-missing-status-404/12654/5 "2017-07-06T02:28:13Z")

</div>


