On Jul 11, 4:31 am, [EMAIL PROTECTED] (Octavian Rasnita) wrote:

> I am trying to install DBD::mysql and I see that it tries to connect to the
> server using the socket /var/lib/mysql/mysql.sock
>
> This is because another version of MySQL was installed on the server, and I
> have installed another one that uses the socket /tmp/mysql.sock.
>
> What should I change if I want to use the socket /tmp/mysql.sock?

I had this same problem.  Surely there is an elegant and correct way
to solve this problem, but I solved it by simply creating a symbolic
link /var/lib/mysql/mysql.sock -> /tmp/mysql.sock

It's a kludge, but it worked for me.

--
David Filmer (http://DavidFilmer.com)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to