[unixODBC-support] Repost - Install questions
nick.gorham at easysoft.com
Wed Jun 13 15:18:41 BST 2007
>>the last line of the odbc.ini is something I am playing around with, I
>think the answer is related to that, > something needs to be defined that
>isn't, but that's just based on what I've found on this forum and the > net
>Below is from the trace log, I notice the ret = -1, which makes me think I
>have a bad syntax in the odbc.ini? Well at least it makes me think it's not
>working but I don't know exactly where in the code that's getting written to
>the log. I'll keep tracing code for now.
> Connection = 27978
> Server Name = [IEQQ2][length = 5 (SQL_NTS)]
> User Name = [tca_read_user][length = 13 (SQL_NTS)]
> Authentication = [*************][length = 13
> UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE
> ENV ATTR
I just checked, thats a typo in the driver manager code, ignore the -1.
Its not the problem here.
The error you are getting either means the driver lib is failing when
the driver manager calls SQLAllocEnv or SQLAllocHandle for a environmant
More information about the unixODBC-support