ODBC driver on MacOS

Moderator: NorbertKrupa

Post Reply
mirceasoaica
Newbie
Newbie
Posts: 1
Joined: Tue Dec 04, 2012 12:38 pm

ODBC driver on MacOS

Post by mirceasoaica » Tue Dec 04, 2012 12:44 pm

Hello

I'm trying to connect to vertica using php and unixodbc on Mac OS Mountain Lion.

I've followed the instructions in the documentation (http://my.vertica.com/docs/CE/6.0.1/HTM ... #17519.htm) but I cannot make it work.
I've also tried to use ODBC Administrator app without success.

My error is [unixODBC][Driver Manager]Data source name not found, and no default driver specified

Do you know of any clear tutorial on how to install the odbc driver and make it work with php on Mac? The official documentation is extremely unhelpful.

Thank you!

jpcavanaugh
Intermediate
Intermediate
Posts: 149
Joined: Mon Apr 30, 2012 10:04 pm
Location: New York
Contact:

Re: ODBC driver on MacOS

Post by jpcavanaugh » Wed Dec 05, 2012 9:46 am

Try setting this to see if it makes a difference.

DYLD_LIBRARY_PATH=:/Library/ODBC/vertica/lib

Post Reply

Return to “PHP”