I have tried dropping all users and databases and re-creating. I have granted all privileges to my user. I have made sure my settings.py includes the correct setup... for the record here is what I have:
DIR_FOR_DB = '/path/to/'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': DIR_FOR_DB+ 'Database',
'USER': 'someuser',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '',
}
}
I can't think of any reason why it's not letting me in.
Try this:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'Database',
'USER': 'someuser',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '8000',
You need to specify a port and not have a path on the database name.
To get this to work for me, I had to change the port to 3306. I got my port from a working interface to my database. I didn't try it without specifying the port at all.