This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Mysql
- To: Scr34m <scr34m at frontember dot hu>
- Subject: Re: Mysql
- From: Michael Hoffman <grouse at mail dot utexas dot edu>
- Date: Sat, 29 Sep 2001 11:26:07 -0500 (Central Daylight Time)
- Cc: cygwin at cygwin dot com
> I moved from linux /usr/inclode/mysql files into my cygwin include
> dir.
Don't do that.
You need libraries for MySQL. Build them from the MySQL source, using:
./configure --without-server
Of course, you will have to get the native Windows server if you want to
run the server locally.
A caveat: MySQL for Windows uses named pipes to talk to local clients,
whereas the MySQL library you compile will want to use UNIX sockets. I
found the easiest way to get them talking was to always use a host of
127.0.0.1, forcing INET sockets. Under perl DBI, if you use "localhost,"
somebody decides to be smart and use UNIX sockets anyway.
An additional caveat: There is probably a better way to do the above.
Stipe?
--
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/