- Open ODBC Data Source Administrator.
NOTE: Use 32 bit application to configure 32 bit driver and 64 bit app for 64 bit driver.
- Click on the
System DSN
tab. SelectOpenSearch SQL ODBC DSN
and click onConfigure
.
- DSN Setup window will open with default values for configuration options.
- Change values of configuration options accordingly.
For example, if you can connect to server using following curl command
curl -XGET https://localhost:9200 -u admin:admin
.
The DSN configuration options can be set as shown below
NOTE: For encrypted connection, the
Host
needs to be prefaced withhttps://
andEnable SSL
in Advanced Options should be checked.
- Click on
Test
to verify connectivity. You will get a message asConnection successful
.
- Click on
OK
to save DSN values.
- Open ODBC Data Source Administrator. Click on
User DSN
>Add
.
- Select
OpenSearch SQL ODBC Driver
and click onFinish
.
- The DSN Setup window will open.
- Update values of configuration options.
- Click on
Test
to verify connectivity. - Click on
OK
to save DSN values. - You will find this newly added DSN in User DSN list.
In case if you use a tunnel or a proxy to connect to an OpenSearch cluster located into a VPC, Host
doesn't represent a real OpenSearch hostname. To properly sign requests with AWS signature, real OpenSearch cluster hostname is required. It could be set in Tunnel Host
field.