Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for web-apps/finance-manager/sql/README-InnoDB between version 1.1 and 1.2

version 1.1, 2004/04/08 07:12:16 version 1.2, 2004/04/09 09:17:03
Line 3  finance-manager uses transaction safe ta
Line 3  finance-manager uses transaction safe ta
   
 Please, read documentation for your MySQL server.  Please, read documentation for your MySQL server.
   
 QUICK  HOWTO:  1.    QUICK  HOWTO:
 =-=-=-=-=-=-=  =-=-=-=-=-=-==--=-=
   
 - remove line "skip-innodb" from /etc/mysql/my.cnf  - remove line "skip-innodb" from /etc/mysql/my.cnf
 - add these options into /etc/mysql/my.cnf:  - add these options into /etc/mysql/my.cnf:
Line 20  QUICK  HOWTO:
Line 20  QUICK  HOWTO:
   innodb_flush_log_at_trx_commit = 1    innodb_flush_log_at_trx_commit = 1
   innodb_lock_wait_timeout = 50    innodb_lock_wait_timeout = 50
   
   
   2.    ERROR when creating database:
   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   
   Error message:
   
   ERROR 1217 at line 12: Cannot delete or update a parent row: a foreign key constraint fails
   
   Solution:
   
   Drop tables (or create tables) in the right order. Take a look at
   create-sql-dump.sh script. Transation safe tables (InnoDB table type)
   contains dependencies, which are checked by database server engine:
   
   
   +------------+  eventid
   | Transation |-----------------+
   +------------+                 |
          |                       V
          |      from_source  +-------+
          |  +----------------| Event |
          |  |    to_source   +-------+
          V  V                    |
      +--------+                  |
      | Source |                  | event_type
      +--------+                  |
                                  V
                           +------------+
                           | event_type |
                           +------------+
   
   
   
 --  --
 Lubomir Host 'rajo' <rajo AT platon. NOSPAM .sk>  Lubomir Host 'rajo' <rajo AT platon. NOSPAM .sk>
 2004-04-07  2004-04-07

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top