Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

mysql.sock solution

Quote Reply
mysql.sock solution
Hi all,

I found some people having problem to locate the mysqlsock file. If your mysql place the mysql.sock file in /var/lib/mysql/mysql.sock and your script is looking for the mysql.sock file at /tmp, you can try the following steps in order to solve the problem :-).

Goto /tmp and type the following command

ln -s /var/lib/mysql/mysql.sock mysql.sock

That will create a symbolic link from /tmp/mysql.sock to /var/lib/mysql/mysql.sock and will correct the problem.





Quote Reply
Re: mysql.sock solution In reply to
Better solution is to re-install DBD::mysql if you can. As this error means that DBD::mysql was built against a different installation/version of mysql and you may run into other problems as well.

Cheers,

Alex

--
Gossamer Threads Inc.