[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Perl:DBI



On Wed, Mar 31, 2004 at 02:27:36PM +0100, Steve Tickle wrote:
> A very quick question:-
> 
> I'm trying to connect to a MySQL database using Perl:DBI. I get the error 
> "Can't connect to local MySQL server through socket 
> '/var/run/mysqld/mysqld.sock'" which seems fair enough since mysqld.sock is 
> to be found in /tmp.
> 
> My question is, how/where do I tweak to get Perl:DBI to look in the right 
> place?

If its configurable, it will be documented in DBD::MySQL as part of the
connection string details.


-- 
Red sky at night - gerroff my land!
Red sky at morning - gerroff my land!
    -- old farmers' sayings #14
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.