Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATABASES = {
- 'default': {
- 'ENGINE': "django.db.backends.%s" % DB_ENGINE,# 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': DB_NAME, # Or path to database file if using sqlite3.
- 'USER': DB_USER, # Not used with sqlite3.
- 'PASSWORD': DB_PASS, # Not used with sqlite3.
- 'HOST': DB_HOST, # Set to empty string for localhost. Not used with sqlite3.
- 'PORT':DB_PORT, # Set to empty string for default. Not used with sqlite3.
- },
- #'innodb': {
- # 'ENGINE': "django.db.backends.%s"%DB_ENGINE,
- # 'OPTIONS': { 'init_command' : 'SET storage_engine=INNODB;' }
- # }
- }
- # This is from file /home/leosatyen/webapps/portimmostaging/lib/python2.6/South-0.7.3-py2.6.egg/south/management/commands/syncdb.py
- # In the trackback i.e the error this line was mentioned
- 85 # This will allow the setting of the MySQL storage engine, for example.
- 86 for db in dbs.values():
- 87 db.connection_init()
- # So , what i did was commented out the 'innodb' from DATABASE dict and everything is working now
Add Comment
Please, Sign In to add comment