Changes between Initial Version and Version 4 of Ticket #8200


Ignore:
Timestamp:
Aug 10, 2008, 11:29:42 AM (16 years ago)
Author:
Malcolm Tredinnick
Comment:

(Fixed formatting errors in description.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8200

    • Property Resolutionworksforme
    • Property Status newclosed
  • Ticket #8200 – Description

    initial v4  
    11I was following along with the The flatpages app docs ( http://www.djangoproject.com/documentation/flatpages ) and when I got to the manage.py syncdb step I got the following error.
    22
     3{{{
    34# manage.py syncdb
    45Creating table django_flatpage
     
    2324    raise errorclass, errorvalue
    2425_mysql_exceptions.OperationalError: (1005, "Can't create table './[stuff deleted]/#sql-48d_41.frm' (errno: 150)")
    25 
     26}}}
    2627After some investigation I discovered this error occurs because I use...
    27 
     28{{{
    2829DATABASE_OPTIONS = { 'init_command' : 'SET storage_engine = INNODB' }
    29 
     30}}}
    3031...in my project settings file, I'm using MySQL for my database.  I need to use INNODB files because I am using the binary log feature of MySQL for data recovery in case of disaster.  I am using rev 7568 of the development trunk.
    3132
Back to Top