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 Message-ID: <3ACBA817.9AFDF88@wapme-systems.de> Date: Thu, 05 Apr 2001 01:02:47 +0200 From: Stipe Tolj Organization: Wapme Systems AG X-Mailer: Mozilla 4.6 [de]C-CCK-MCD QXW0321f (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: Grahame Wright CC: cygwin AT sources DOT redhat DOT com Subject: Re: Apache and MySQL References: <5 DOT 0 DOT 0 DOT 25 DOT 0 DOT 20010328125435 DOT 00c1af80 AT pop DOT bur DOT adelphia DOT net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > I have managed to get Perl in Cygwin talking to my MySQL server when I run > the script from the command line, but I cannot get the script to work when > I run it from the browser connecting to Apache. All I ever get is the error : > DBI->connect(database=test;host=) failed: Can't create IP > socket (1) > > I really don't know what could be causing this...does anyone have any ideas > why it would work from the command line but not from apache? Other scripts > run fine, it's just ones that connect to the MySQL server that fail. what Apache do you use? - is it the native Win32 port or a Cygwin based build? Stipe tolj AT wapme-systems DOT de ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: info AT wapme-systems DOT de Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple