django - mysql server doesn't run anymore -
i installed mysql on os x mountain lion , worked fine while.
i run using command: /usr/local/mysql/bin/mysql -uroot
then, installed django , when execute command above, get:
error 2002 (hy000): can't connect local mysql server through socket '/tmp/mysql.sock' (2)
anyone have precise solution this?
it's happening becaouse mysql hasn't been started, have manually. so, go system preferences > mysql , press button: start server.
done, works!
Comments
Post a Comment