List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 14 2000 2:45am
Subject:Re: DBI->connect failed
View as plain text  
At 7:36 PM -0800 2000-04-13, Lance Julander wrote:
>Hello,
>
>I'm very new to MySQL and also to the DBI module.  I have come across an
>error and can't seem to get past it.  I have searched the MySQL manual,
>deja, the web...pretty much anything I have access to with no luck.
>
>I have a table set up in MySQL and I can access it via a perl script
>using DBI.  From the command line it all works great.  When I try to
>access it via the web, apache logs the following error:
>
>DBI->connect failed: Can't connect to local MySQL server through socket
>/var/lib/mysql/mysql.sock' (111) at /home/......

<snip>

Lets's see your connect code.  XXX out the password if necessary.

-- 
Paul DuBois, paul@stripped
Thread
DBI->connect failedLance Julander14 Apr
  • Re: DBI->connect failedPaul DuBois14 Apr
RE: DBI->connect failedQuentin Bennett14 Apr