in reply to Re^7: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue
in thread Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue

Hi Monks,

First i tried to check the connectivity from isql. I got the below error.

IM004unixODBCDriver ManagerDriver's SQLAllocHandle on SQL_HANDLE_HENV failed ISQLERROR: Could not SQLConnect

Any help on this please...

Thanks
  • Comment on Re^8: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue

Replies are listed 'Best First'.
Re^9: Connecting to sqlserver2008 - DBD::Sybase connectivity and unixODBC issue
by mje (Curate) on Apr 10, 2013 at 12:07 UTC

    I think this usually happens because the driver requires some environment variable to be set before connecting e.g., DB2 likes DB2INSTANCE setting. Perhaps there is something similar with the Sybase driver.