MySQL Forums
Forum List  »  Install & Repo

Re: Further Info on Error 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock''
Posted by: Mark Ginns
Date: October 12, 2004 09:58AM

Thanks for your help on this Sean - in the end the problem turned out to be that mysqld_safe wasn't running correctly - I found a thread in the 2.2.3 chapter http://dev.mysql.com/doc/mysql/en/Mac_OS_X_installation.html which pointed my in the direction of incorrect permissions being set on some of the files I did the following


% cd /usr/local/mysql
% sudo chown -R mysql data
% sudo chgrp -R mysql

and was consequently allowed root access - what was interesting though was that only root accounts appeared to be created no anonymous accounts so I had to manually create user accounts and grant full privileges


Thanks once again for you help

Options: ReplyQuote


Subject
Written By
Posted
Re: Further Info on Error 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock''
October 12, 2004 09:58AM


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.