[unixODBC-support] Does unixODBC on Mac OS X works?

Nick Gorham nick.gorham at easysoft.com
Thu Apr 7 14:31:17 BST 2005


Lorenzo Moretti wrote:

> I have installed several version of unixODBC on Mac OS X.
> Last is the 2.2.11.
> I've built 2 drivers for PostgreSQL and MySQL with unixODBC support
>
> I've added the DSN inside odbc.ini and odbcinst.ini (exact driver, 
> server, data, etc) following the documents.
> but always I have this error.
>
> DBMI-ODBC driver error: SQLConnect():
> [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV 
> failed (0)
>
>
> and now: Does unixODBC on Mac OS X works?

Yes it does, have the drivers been build as loadable libs (README.OSX 
mentions this for postgres).

Can you show the contents of your odbcinst.ini

>
> iODBC on Mac OS X works very well without problem.
>
Well there are a couple of problems, but I take your point.

Peter has done a fair bit on the Mac he may more information, especially 
with MySQL.

-- 
Nick



More information about the unixODBC-support mailing list