# Cant able to connect SQL server in windows 7

**URL:** <https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004>\
**Category:** Elasticsearch\
**Created:** [November 9, 2017, 9:35am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004 "2017-11-09T09:35:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![divik](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@divik](https://discuss.elastic.co/u/divik)\
**Post date:** [November 9, 2017, 9:35am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/1 "2017-11-09T09:35:12Z")

</div>

I'm very new to elasticsearch and i configured and i got

C:\elasticsearch-5.6.3\elasticsearch-jdbc-2.3.3.1\bin\>mssql-simple-example.bat  
{ "elasticsearch" : { "cluster" : "elasticsearch", "host" : "  
localhost", "port" : 9200, "type" : "jdbc"  
'}' is not recognized as an internal or external command,  
operable program or batch file.

can you please tel me what i have to do next????

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [November 13, 2017, 12:49am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/2 "2017-11-13T00:49:21Z")

</div>

I'm not sure what it is that you're trying to do in your configuration.

Take a look at [using the JDBC input with Logstash](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html) to query SQL Server and ingest results from the query into Elasticsearch.

Alternatively, you can always [use a client with your programming language of choice](https://www.elastic.co/guide/en/elasticsearch/client/index.html), and index data into Elasticsearch using the [bulk API](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docs-bulk.html).

---

<div class="post-metadata">

**Author:** ![divik](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@divik](https://discuss.elastic.co/u/divik)\
**Post date:** [November 13, 2017, 6:57am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/3 "2017-11-13T06:57:58Z")

</div>

Thank you... but its possible for using windows  
7 32 bit

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [November 14, 2017, 11:41pm UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/4 "2017-11-14T23:41:03Z")

</div>

Logstash is only supported and tested on a 64-Bit Operating Systems.

---

<div class="post-metadata">

**Author:** ![divik](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@divik](https://discuss.elastic.co/u/divik)\
**Post date:** [November 15, 2017, 3:45am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/5 "2017-11-15T03:45:40Z")

</div>

Really thanks a lot....had a big confusion..but now clear..Thank you so much

---

<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:** [December 13, 2017, 3:45am UTC](https://discuss.elastic.co/t/cant-able-to-connect-sql-server-in-windows-7/107004/6 "2017-12-13T03:45:51Z")

</div>

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