On Fri, 30 Apr 2004, Chris Faust wrote:

> You answered your own question - the sock file is in a different location,
> the simplest thing to do is alter that connect statement in the script and
> pass in the location of your sock.. Something like
> 
> It probably looks something like
> DBI:mysql:database=bugs:host=localhost
> 
> Change it to
> 
> DBI:mysql:database=bugs:host=localhost:mysql_socket=/usr/local/data/mysql.so
> ck
> 
> And it should work.

You could also use ';mysql_read_default_group=dbd_mysql' and then put the
correct mysql socket location into the [client] (or [dbd_mysql]) section of
my.cnf.


Rudy

Reply via email to