I run python33 and I installed pymysql3, but which ENGINE do I need to specify in Django settings:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'chris_test', # Or path to database file if using sqlite3. # The following settings are not used with sqlite3: 'USER': 'some_user', 'PASSWORD': 'some password', 'HOST': 'some_host', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. 'PORT': '3306', # Set to empty string for default. } }
source share