Hello, I use python 2.7 and Django 1.7 for my web-app. When I run my site with DEBUG=True or try to do 'migrate' I have this error: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)").
My settings for Database:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'evgeniykrasyuk$default',
'USER': 'evgeniykrasyuk',
'PASSWORD': 'xxxxxxxxx',
'HOST': 'evgeniykrasyuk.mysql.pythonanywhere-services.com',
}}