delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/30/18:32:41

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019