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

[Sheflug] Perl:DBI



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?

Regards

--
Steve