[Answer]-Error during syncdb django python


Read your debug messages more careful.
Error is “Can’t connect to local MySQL server through socket”. U should check your connection params at settings.py


The default path to MySQL socket doesn’t work on MacOS X.

This SO question provides a good answer to that problem, along with some handy links for further reading.

Leave a comment