MySQL Socket error

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

MySQL Socket error

Postby TomiH_89 » 01. April 2007 15:56

Hi!

I have installed the latest LAMPP on Fedora Core 6 Linux. When I start the servers and look up from the explorer, it gives me an socket error.

I found this log in LAMPPs files:


070318 18:06:46 mysqld started
070318 18:06:46 [ERROR] Can't start server : Bind on unix socket: Permission denied
070318 18:06:46 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
070318 18:06:46 [ERROR] Aborting

070318 18:06:46 [Note] /opt/lampp/sbin/mysqld: Shutdown complete

070318 18:06:46 mysqld ended

070401 16:51:40 mysqld started
070401 16:51:40 [ERROR] Can't start server : Bind on unix socket: Permission denied
070401 16:51:40 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
070401 16:51:40 [ERROR] Aborting

070401 16:51:40 [Note] /opt/lampp/sbin/mysqld: Shutdown complete

070401 16:51:40 mysqld ended
TomiH_89
 
Posts: 4
Joined: 01. April 2007 15:41

Postby Wiedmann » 01. April 2007 16:01

I have installed the latest LAMPP

How?

When I start the server

How?

look up from the explorer, it gives me an socket error.

Can you explain this?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby TomiH_89 » 01. April 2007 19:06

sorry, my post seems to be lacking much of information :)

I downloaded LAMPP (XAMPP for Linux) from http://apachefriends.org. I unpacked the compressed folder and placed all the files in /opt/lampp/...

Then, using the terminal, I did:
#CD /opt/lampp
#./lampp start


Due to the information then presented in the terminal everything was ok. When I opened the site in FireFox, I got this message:
Fatal Session Error at line 211: MYSQL Error: Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2)


And from the error logs I found the bits of text provided with the first message.

I remember seeing somewhere reference to error 2002 or something like that.
TomiH_89
 
Posts: 4
Joined: 01. April 2007 15:41

Postby Wiedmann » 01. April 2007 20:10

I unpacked the compressed folder and placed all the files in /opt/lampp/...

How? (exact commands)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby TomiH_89 » 02. April 2007 12:24

No Commands... just did it with the package unpacker in graphical mode. "Extract here"
TomiH_89
 
Posts: 4
Joined: 01. April 2007 15:41

Postby Wiedmann » 02. April 2007 13:00

just did it with the package unpacker in graphical mode. "Extract here"

You have read http://www.apachefriends.org/en/xampp-linux.html#377?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby TomiH_89 » 03. April 2007 16:12

Seems that I have missed that bit :)

I'll try to reinstall. Thanks!
TomiH_89
 
Posts: 4
Joined: 01. April 2007 15:41


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests