Re: mySQL and SQLDriverConnect
Nick Gorham <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
Igor Korot wrote: >Hi, ALL, >It looks like mySQL people don't use SQLDriverConnect at all... ;-) > >I'm trying to connect to the mySQL server locally using the ODBC driver from mySQL site >with unixODBC-2.2.12. And I'm using SQLDriverConnect in my C++ program. > >When I tried to use isql I get the connection without any problems. I issued: > > > Check that the driver build is using the libodbcinst.so API to access the ini file, if not it may be doing its own thing and not finding it. Try setting theenv var ODBCINI to the odbc.ini you are using. -- Nick _______________________________________________ unixODBC-dev mailing list [email protected] http://mail.easysoft.com/mailman/listinfo/unixodbc-dev