CODE
/* Alter table in Second database */
alter table `giva_online`.`a_enti_contattati`, Engine=InnoDB
/* Alter table in Second database */
alter table `giva_online`.`a_entrate`,
add KEY `FK_a_entrate` (`convivente_id`), Engine=InnoDB,
alter table `giva_online`.`a_enti_contattati`, Engine=InnoDB
/* Alter table in Second database */
alter table `giva_online`.`a_entrate`,
add KEY `FK_a_entrate` (`convivente_id`), Engine=InnoDB,
Notice the absence of semicolon at the end of each statement.