public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* mySQL/ODBC connectivity
@ 2000-04-10  5:16 Sandip Bhattacharya
  2000-04-11  4:06 ` sinisa
  0 siblings, 1 reply; 2+ messages in thread
From: Sandip Bhattacharya @ 2000-04-10  5:16 UTC (permalink / raw)
  To: Win32 MySQL Discussion, cygwin

Hi!
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
available.

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
 sandipb@bigfoot.com
DSF Internet Services
ICQ: 38380743

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mySQL/ODBC connectivity
  2000-04-10  5:16 mySQL/ODBC connectivity Sandip Bhattacharya
@ 2000-04-11  4:06 ` sinisa
  0 siblings, 0 replies; 2+ messages in thread
From: sinisa @ 2000-04-11  4:06 UTC (permalink / raw)
  To: Sandip Bhattacharya, Win32 MySQL Discussion, cygwin

On Mon, 10 Apr 2000, Sandip Bhattacharya wrote:
>Hi!
>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
>available.
>
>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

HI!

You can not use unixODBC on Win32. At least, that is what I know.

This issue is too specific. You would be better by mailing to unixODBC authors
directly.


Regards,

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@tcx.se            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@mysql.com     |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-11  4:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-10  5:16 mySQL/ODBC connectivity Sandip Bhattacharya
2000-04-11  4:06 ` sinisa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).