|
I'm getting the following error message when trying to 'syncdb' for the first time. I upgraded my project from django 1.3 to the format or django 1.4.x on my development machine where it works. On the webfactional server I get this error. I believe I have all the settings in settings.py correct but I must be missing something.
I have created a db called mysite_db. Here are my db settings (settings.py): DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mysite_db', 'USER': 'myusername', 'PASSWORD': '****', 'HOST': '', 'PORT': '', } } Any ideas as to what would cause this? |
If your username and database name are set to the same in your settings.py then maybe try connecting with phpmyadmin to make sure you can connect with the username and password you are using. If you still have trouble, maybe open a support ticket for us to take a closer look for you.
Sorry to mislead. My database name is my username but ending with _db, which is legal according to the docs.
username: myusername database: myusername_db
I have opened a ticket because it appears that there is also a server error when I try to view my site with a browser.