New client connection client connection established 42132 INFO Tunnel now open ('127.0.0.1', 54048) -> ('175.107.158.49', 22) -> ('127.0.0.1', 3306) Executing SQL script in server ERROR: Error 1005: Can't create table './mydb/table2.frm' (errno: 121) CREATE TABLE IF NOT EXISTS `mydb`.`table2` ( `idtable2` INT(11) NOT NULL , `fk_test` INT(11) NOT NULL , PRIMARY KEY (`idtable2`) , INDEX `fk_test` (`fk_test` ASC) , CONSTRAINT `fk_test` FOREIGN KEY (`fk_test` ) REFERENCES `mydb`.`table3` (`idtable3` ) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB DEFAULT CHARACTER SET = latin1 COLLATE = latin1_swedish_ci SQL script execution finished: statements: 6 succeeded, 1 failed