Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: To: 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