The easy approach is to do simlink of the actuoal location of the mysql.sock to 
the
/var/lib/mysql/mysql.sock

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

its safer in a view other apps could have the /opt/lampp/var/mysql/mysql.sock 
as default mysql.sock location

Kaone Mathuba wrote:
> Hi list,
> 
> I'm running kannel on openSUSE 11.1 with LAMPP. I have installed sqlbox.
> When I start it I get
> ERROR: MYSQL: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> how do I tell it to use /opt/lampp/var/mysql/mysql.sock instead.
> 
> 
> Regards
> 
> Kaone.

Reply via email to