Guest User

Untitled

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