| Solution for mysqld.sock missing: adding symbolic link in /tmp to mysqld.sock works! Hey guys,
I am running ubuntu and was trying to install Mysql. I was getting the error:
InnoDB: Started; log sequence number 0 43655
090116 12:54:09 [ERROR] Can't start server : Bind on unix socket: Permission denied
mysqld[21068]: 090116 12:54:09 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
After being stumped for a long time, I was desperate enough to try the fix suggested in this thread. It worked!!!!
Specifically, I typed the following:
#cd /tmp
# sudo ln -s /var/run/mysqld/mysqld.sock mysqld.sock
#sudo /etc/init.d/mysql start &
And mysql was running just fine!
Thought I would share this with you all so that you know this solution is valid and working as of Jan 16, 2009.
Srikanth. |