# How to synchronize mysql data to elasticsearch?

**URL:** <https://discuss.elastic.co/t/how-to-synchronize-mysql-data-to-elasticsearch/53234>\
**Category:** Elasticsearch\
**Created:** [June 19, 2016, 11:22am UTC](https://discuss.elastic.co/t/how-to-synchronize-mysql-data-to-elasticsearch/53234 "2016-06-19T11:22:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanjiushi](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kanjiushi](https://discuss.elastic.co/u/kanjiushi)\
**Post date:** [June 19, 2016, 11:22am UTC](https://discuss.elastic.co/t/how-to-synchronize-mysql-data-to-elasticsearch/53234/1 "2016-06-19T11:22:35Z")

</div>

How to synchronize mysql data to elasticsearch?

There are 3 tools on github:  
1、elasticsearch-jdbc  
2、python-mysql-replication  
3、go-mysql-elasticsearch

in addition:  
4、mysqlbinlog

which one should I use?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 19, 2016, 6:29pm UTC](https://discuss.elastic.co/t/how-to-synchronize-mysql-data-to-elasticsearch/53234/2 "2016-06-19T18:29:43Z")

</div>

Another option is to use Logstash and its jdbc input plugin.

---

<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 5, 2017, 10:42pm UTC](https://discuss.elastic.co/t/how-to-synchronize-mysql-data-to-elasticsearch/53234/3 "2017-07-05T22:42:31Z")

</div>


