Can't connect to local MySQL server through socket

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Can't connect to local MySQL server through socket

Postby calinc » 29. March 2005 19:04

i revceive this message

Can't connect to local MySQL server through socket '/tmp/mysqld.sock'

i put my.cnf file from /opt/lampp/etc/my.cnf

in etc/my.cnf but doesn't work

what can I do?
Posts: 2
Joined: 28. March 2005 12:57

Postby Oswald » 31. March 2005 09:19

Dear Calinc!

In which context do you get the error message?

User avatar
Apache Friends
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby morris_m » 12. April 2005 12:44

i have the same problem too ,Kai.
Posts: 13
Joined: 18. January 2005 13:33
Location: Aachen

Postby Metzger » 16. April 2005 03:09

Hello. :D

I am having a similar problem.

I have installed the latest version of XAMPP onto my Gentoo Linux. I am not able to connect to the running MySQL daemon locally or across my network. (it shows the same socket error)

After starting XAMPP (/opt/lampp/lampp start) and then shutting it down (/opt/lampp/lampp stop), ps aux | grep mysql shows two "mysqld_safe" processes running. I seem to be unable to kill them.

If I attempt to start XAMPP again, it starts Apache, MySQL, and ProFTPD, then says "XAMPP for Linux Started.".

A few seconds later, it says:

Code: Select all
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job] ... or kill -l [sigspec]

... like something is issuing a bad kill command on the system.

This is a freshly installed version of Gentoo, no GUI or anything. Bare minimums. :D

Is this a bug in the MySQL release?
Posts: 5
Joined: 16. April 2005 03:01

XAMPP works fine on DSL (Damn Small Linux)

Postby reenyg » 16. April 2005 09:32


XAMPP works fine even under heavy load when tried on an old Pentium II machine with DSL 1.0.1 . The details of the setup are in this picture

Posts: 4
Joined: 15. April 2005 20:32

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests