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

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -