I think I get foreign key constraint error when I try to truncate innodb tables. I was not having problems with this when using MyISAM.
Is there an easy way to force truncate all tables? Or should I just make a script to drop the database, create new one and then create the tables from scratch?