Page 1 of 1

ODBC driver on MacOS

Posted: Tue Dec 04, 2012 12:44 pm
by mirceasoaica
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!

Re: ODBC driver on MacOS

Posted: Wed Dec 05, 2012 9:46 am
by jpcavanaugh
Try setting this to see if it makes a difference.

DYLD_LIBRARY_PATH=:/Library/ODBC/vertica/lib