Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
071221 00:07:01 mysqld started
071221 0:07:01 [ERROR] Can't start server : Bind on unix socket: Permission denied
071221 0:07:01 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
071221 0:07:01 [ERROR] Aborting
071221 02:10:53 mysqld started
071221 2:10:55 [ERROR] Can't start server : Bind on unix socket: Permission denied
071221 2:10:55 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
071221 2:10:55 [ERROR] Aborting
071230 14:24:49 mysqld started
071230 14:24:50 [ERROR] Can't start server : Bind on unix socket: Permission denied
071230 14:24:50 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
071230 14:24:50 [ERROR] Aborting
080309 13:42:18 mysqld started
080309 13:42:20 [ERROR] Can't start server : Bind on unix socket: Permission denied
080309 13:42:20 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
080309 13:42:20 [ERROR] Aborting
Do you happen to have a /var/log/mysql.log? Sometimes that's a common place for mysql logs as well. And how was MySQL installed on this machine, what distro?
from the above log you have pasted....it seems that you have two instance of mysql installed on your machine. Please check the same.
When you connect to mysql server if from your local machine you are connecting (machine where server is installed)then it creates a linux domain socket to connect to server. So, if one instance is already using the socket to connect to server then the other instance will fail to connect. The sample log entry proves that...
-----------------
071230 14:24:50 mysqld ended
080309 13:42:18 mysqld started
080309 13:42:20 [ERROR] Can't start server : Bind on unix socket: Permission denied
080309 13:42:20 [ERROR] Do you already have another mysqld server running on socket: /opt/lampp/var/mysql/mysql.sock ?
080309 13:42:20 [ERROR] Aborting
----------------------
Actually its saying that he has one copy of the MySQL SERVER running and is trying to start another on the same machine. The client has nothing to do with it.
Also if you read his reply, those logs he posted are from two months ago. The OP has stated that the MySQL server has crashed twice since the last log he's posted.
Do you happen to have a /var/log/mysql.log? Sometimes that's a common place for mysql logs as well. And how was MySQL installed on this machine, what distro?
No such mysql.log file. I am using Slackware, and MySQL came with XAMPP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.