List:MySQL and Perl« Previous MessageNext Message »
From:Seth Chaiklin Date:March 27 1999 12:49pm
Subject:problem with MySQL module test (fwd)
View as plain text  
I tried to send to msql-mysql-modules@stripped but that message
seemed to disappear, so here is almost the same version.

---------- Forwarded message ----------
Date: Sat, 27 Mar 1999 02:48:47 +0100 (CET)
From: Seth Chaiklin <seth@stripped>
To: dbi-users@stripped
Subject: problem with MySQL module test

    *** From dbi-users -- To unsubscribe, see the end of this message. ***

MySQL-3.22.20a (precompiled linux binaries)

The mysql test fails with an error about not being able to
connect to the MySQL server.

(The server is running, I can connect to it via mysql client and
by MS Access).

I was able to write a little script that got a connection

#!/usr/bin/perl -w
use Mysql;
$dbh = Mysql->connect("IP number here", "database", "name","passwd")
or die "Can't connect $DBI::errstr\n";
print "connection to sample database suceeded\n";

This suggests that the driver is ok.  But why is the test failing?
I also tried with msql-MySQL-2.014 (same problem).

I could not find any mention of this problem in various archives.
(Well, once or twice I found it mentioned, but no solutions ).

  Seth Chaiklin

To unsubscribe from this list, please visit
If you are without web access, or if you are having trouble with the web page,
please send mail to dbi-request@stripped.   Please try to use the web
page first - it will take a long time for your request to be processed by hand.

problem with MySQL module test (fwd)Seth Chaiklin28 Mar