Page 1 of 1

help!!! i've got a error connecting to mysql!

PostPosted: 20. December 2007 13:23
by leongenius
hei,guys:
I've got a error whlie using XAMPP Linux 1.6.4 installed in my new Fedora8, i just followed every step of installation under what http://www.apachefriends.org/en/xampp-linux.htmlsays, but i still get an error message while connecting to mysql:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

How can i solve this problem!!thanks

PostPosted: 23. December 2007 08:18
by skuipers
The path you are mentioning shows you are trying to connect to a non-XAMPP MySQL daemon. The path for the XAMPP provided MySQL would be /opt/lampp/var/mysqlmysql.sock.

So stop starting the non-XAMPP MySQL at boot time.

Could you let us know how you are trying to connect to MySQL? What are your connection data?