MySQL Forums
Forum List  »  Install & Repo

Re: mysqld.sock missing
Posted by: paul
Date: September 28, 2005 11:48AM

This is a weird one as mysqld.sock should be created when you start mysql, but then mysql can't start because it can't find the mysqld.sock file!

Anyway, I'm not sure how yu lin fixed this problem, but a suggestion I found on another list that worked for me was to open up my.cnf (mine's in /etc/mysql/ on my Debian unstable box) and comment out the following line like so:

#old_passwords = 1

Restart mysql (/etc/init.d/mysql restart) and hopefully you'll be good to go.

If you're not sure if this is your problem or not, try restarting mysql and look for something like this in your syslog file:

Sep 28 19:20:35 xxx mysqld_safe[6552]: started
Sep 28 19:20:35 xxx mysqld[6556]: 050928 19:20:35 /usr/sbin/mysqld: unknown variable 'old_passwords=1'
Sep 28 19:20:35 xxx mysqld[6556]:
Sep 28 19:20:35 xxx mysqld_safe[6558]: ended

Cheers,

Paul

Options: ReplyQuote


Subject
Written By
Posted
September 02, 2005 08:42AM
September 02, 2005 10:58AM
September 08, 2005 10:48AM
September 15, 2005 08:53AM
September 16, 2005 05:06PM
September 22, 2005 08:09AM
Re: mysqld.sock missing
September 28, 2005 11:48AM
October 18, 2005 11:03AM
January 07, 2009 08:04PM
April 28, 2009 10:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.