set foreign_key_checks = on #2006 – mysql server has gone away