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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -