thoughton:digitallife banner
about downloads imagery work
-- How To... --

MySQL broken by 10.3.9?


I noticed today that my MySQL install seemed to have broken. I was getting an error when I tried to post a new entry via Ecto, and after poking around a bit I discovered that any query involving the mysql database (such as a site search) produced the same error:

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


Further investigation seemed to indicate this was a permissions problem. The only thing I've installed recently has been the OS X 10.3.9 update, so I'm guessing it happened then. After much googling I found the fix.

Change directory to your mysql directory:

cd /usr/local/mysql

And enter this change ownership command:

sudo chown -R mysql data/

And voila! Everything works again.


Posted on 21 April 2005, to How To... | Internet | Mac OS X | Site News

Related entries

Upgrade to Tiger, PHP and MySQL broken - 27 April 2005
Postfix broken ... again - 22 March 2004

Comments

There have been no comments posted to this entry.

Subscribe to comments

Enter your email address in the box below to receive an email notification whenever a new comment is posted to this entry.

Email address:

Post a comment










Remember personal info?


Click a smiley!
:) ;) 8) :| :(
:P :X :? :mad: :D
:o :cry: :shock: :blush: :roll:



Security code
Please enter this security number in the space below (this prevents automated responses).



Category icon Sponsors