17.03.2011, 14:22, "Göran Törnqvist" <Goran.Tornqvist@xxxxxxxxxx>: > Hi, > No constraints or ON DELETE CASCADE. > I didn´t install racktables so not sure if it was done incorrectly or > something. > Is there a sql script I can run to add the constraints needed? [...] > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 | This must be InnoDB. There should be only 4 MyISAM tables in RackTables: Attribute, Chapter, Dictionary and UserAccount. Fixing this database would require: 1. making a backup 2. converting all tables, which must be InnoDB, respectively 3. finding missing constraints (checking one by one or comparing SQL structure dumps) 4. restoring constraints with ALTER TABLE -- Denis Ovsienko