Hi Agneeswaran,

You should install Apache Ignite ODBC driver using provided
ignite-odbc-install.ini
file as described at [1]. After that you are going to be able to connect to
the driver
using "{Apache Ignite}" as a value for the "DRIVER" attribute. Or simply
speaking,
you should modify your connection string like the following as described at
[2]:

std::string connectStr = "DRIVER={Apache Ignite};SERVER=
dayrhegapd022.enterprisenet.org;"
                                  "PORT=21050;CACHE=MARKET_POD_ACV_CACHE;";

Please, let me know if this helps.

[1] - https://apacheignite.readme.io/docs/odbc-driver
[2] - https://apacheignite.readme.io/docs/connecting-string

Best Regards,
Igor

On Wed, Jun 8, 2016 at 9:00 AM, Agneeswaran <
agneeswaran.ponnuraman...@nielsen.com> wrote:

> Hi Igor,
>
> The connection string is,
> std::string connectStr =
> "DRIVER=/usr/local/lib/libignite-odbc.so;SERVER=
> dayrhegapd022.enterprisenet.org;PORT=21050;CACHE=MARKET_POD_ACV_CACHE;";
>
> This error occurs even in the empty string as std::string connectStr =" ";
>
> Please find the output for <ldd /usr/local/lib/libignite-odbc.so>
>
> [ignite@dayrhegapd022 Linux]$ ldd /usr/local/lib/libignite-odbc.so
>         linux-vdso.so.1 =>  (0x00007fffc01c7000)
>         /usr/lib64/libodbcinst.so (0x00007f32dd3df000)
>         libignite-binary-1.6.0.8653.so.0 =>
> /usr/local/lib/libignite-binary-1.6.0.8653.so.0 (0x00007f32dd1b4000)
>         libignite-common-1.6.0.8653.so.0 =>
> /usr/local/lib/libignite-common-1.6.0.8653.so.0 (0x00007f32dcfac000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f32dcd9c000)
>         libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f32dca95000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007f32dc811000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f32dc47d000)
>         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f32dc266000)
>         libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f32dc05d000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f32dbe40000)
>         /lib64/ld-linux-x86-64.so.2 (0x00000031b0600000)
> [ignite@dayrhegapd022 Linux]$
>
> Please let us know, whether we have missed anything.
>
> Thanks,
> Agneeswaran
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Error-in-ODBC-connection-tp5493p5512.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to