3 messages in com.mysql.lists.mysqlRe: DBI->connect failed
FromSent OnAttachments
Lance Julander13 Apr 2000 19:36 
Paul DuBois13 Apr 2000 19:44 
Quentin Bennett13 Apr 2000 20:19 
Subject:Re: DBI->connect failed
From:Paul DuBois (pa@snake.net)
Date:04/13/2000 07:44:54 PM
List:com.mysql.lists.mysql

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.