3

Database access Problems with Django and MySQL

view full story
linux-howto

http://serverfault.com – I'm trying to setup Django w/ MySQL. I've got Apache and mod_wsgi up and running, and am now trying to introduce django to mysql. I've created a database named 'django' and a 'django' user. I've granted all to django on django: grant ALL on django.* to 'django'@'localhost'; Django's settings.py has been configured with MySQL's settings: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'django': '', # Or path to database file if using sqlite3. 'djang (HowTos)