Back to the month index |
Back to the list index
|
Georg Horn (horn@uni-koblenz.de)
Wed, 21 Apr 1999 11:09:07 +0200 (CEST)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Manfred Fandel: "msqlDateOffset function is buggy"
- Previous message: J. M. Castagnetto: "Mirror of files?"
From: Georg Horn <horn@uni-koblenz.de> Message-Id: <199904210909.LAA12358@flens.uni-koblenz.de> Subject: Re: Perl and can't connect Date: Wed, 21 Apr 1999 11:09:07 +0200 (CEST)You wrote:
> Hi,
>
> I just updated from 2.06 to 2.08. I have one perl script that no longer
> works after updating. Below is just a test script.
Have you upgraded your perl modules too?
> It says can't connect local host line 12.
>
> In my msql.conf file i have remote_access = false commented out. If a let
> it in the perl script complains about it.
Maybe you should not comment it out, but replace it with remote_access = true
> $hostname = "localhost" ;
> $databasename = "humak" ;
> $dbh = Msql->connect($hostname,$databasename);
If you want to connect to the localhost, you can use an empty (or NULL)
hostname. This will not connect to the server via tcp sockets, but via a
local unix domain socket (which is also said to be faster).
Bye,
Georg
- Next message: Manfred Fandel: "msqlDateOffset function is buggy"
- Previous message: J. M. Castagnetto: "Mirror of files?"