Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 30 Jan 2001 15:29:54 -0800 (PST)
Message-Id: <200101302329.PAA15586@albatross.prod.itd.earthlink.net>
From: <dalekh@Hotmail.com>
To: <cygwin@sourceware.cygnus.com>
Subject: MYSQL_UNIX_PORT
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

How can I connect to local MySQL win32 server using cygwin- Apache/Perl/DBI?
I am not sure how to force DBI to use IP address instead of socket, but I think that is what I need to do.
I compiled libmysqlclient.a using mysql-3.23.28-gamma sources and when I test Perl-DBI-DBD::mysql it 
fails trying to use /var/mysql.sock. 
I then recompiled libmysqlclient.a using --with-unix-sock-port=MYSQL because \mysql\data\my.cnf has:
socket=MYSQL.
Is this the right direction to get a socket connection with cygwin and MySQL Win32 local server...

thanks,
dale


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

