Advertisement
Guest User

Untitled

a guest
Jan 13th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # This is my settings file
  2.  
  3. DATABASES = {
  4. 'default': {
  5. 'ENGINE': "django.db.backends.%s" % DB_ENGINE,# 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
  6. 'NAME': DB_NAME, # Or path to database file if using sqlite3.
  7. 'USER': DB_USER, # Not used with sqlite3.
  8. 'PASSWORD': DB_PASS, # Not used with sqlite3.
  9. 'HOST': DB_HOST, # Set to empty string for localhost. Not used with sqlite3.
  10. 'PORT':DB_PORT, # Set to empty string for default. Not used with sqlite3.
  11. },
  12.  
  13. #'innodb': {
  14. # 'ENGINE': "django.db.backends.%s"%DB_ENGINE,
  15. # 'OPTIONS': { 'init_command' : 'SET storage_engine=INNODB;' }
  16. # }
  17. }
  18.  
  19.  
  20.  
  21. # This is from file /home/leosatyen/webapps/portimmostaging/lib/python2.6/South-0.7.3-py2.6.egg/south/management/commands/syncdb.py
  22. # In the trackback i.e the error this line was mentioned
  23.  
  24. 85 # This will allow the setting of the MySQL storage engine, for example.
  25. 86 for db in dbs.values():
  26. 87 db.connection_init()
  27.  
  28. # So , what i did was commented out the 'innodb' from DATABASE dict and everything is working now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement