This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mySQL/ODBC connectivity

I am using unixODBC on cygwin-b20 on a win95 system. I have installed a
windows myODBC driver and defined a System DSN which i intend to use.I
am linking the unixodbc libraries.  Now since i am using unixodbc it
reads the /etc/odbc.ini file, while the myodbc windows drivers keeps it
settings in c:\windows\odbc.ini file. So i generally copy the windows
ini file on top of the /etc one.

Now when i make a program to display the data
sources(showSQLdatasources) it displays the datasources that are
available(probably by reading just the INI files), including the [odbc
32] part at the top of the file which only specifies the DSN's

When i use the ODBC connect functions however, it doesn't find the DSN. 

I might sound terribly confused here.(I am). But does the ODBC driver
(that is unixODBC) try to use the windows myODBC bridge or not?? I mean
in a cywin environment?

Any help would be really appreciated.
- sandip
Sandip Bhattacharya
DSF Internet Services
ICQ: 38380743

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]