phpmyadmin を使用してテーブルを複製しようとしています。次のクエリが生成されます。
CREATE TABLE `agendaeventos`.`diassemamaactivo` (
`idEvento` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`idExterno` VARCHAR( 16 ) CHARACTER SET utf8 COLLATE utf8_spanish_ci DEFAULT NULL ,
`nombreEvento` TEXT CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL ,
`entradilla` TEXT CHARACTER SET utf8 COLLATE utf8_spanish_ci,
`descripcion` TEXT CHARACTER SET utf8 COLLATE utf8_spanish_ci,
`diaDeInicio` DATE NOT NULL ,
`diaDeFin` DATE NOT NULL ,
`diaDeInicioYFinTexto` VARCHAR( 58 ) CHARACTER SET utf8 COLLATE utf8_spanish_ci DEFAULT NULL ,
`horarioTexto` TEXT CHARACTER SET utf8 COLLATE utf8_spanish_ci,
`fotoURL` VARCHAR( 200 ) CHARACTER SET utf8 COLLATE utf8_spanish_ci DEFAULT NULL ,
`webURL` VARCHAR( 200 ) CHARACTER SET utf8 COLLATE utf8_spanish_ci DEFAULT NULL ,
`idFuente` INT( 11 ) NOT NULL ,
`esRevisado` TINYINT( 1 ) NOT NULL DEFAULT '0',
`esModificado` TINYINT( 1 ) NOT NULL DEFAULT '0',
`fechaActualizacion` DATE DEFAULT NULL ,
`diasSemanaActivo` CHAR( 7 ) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL DEFAULT '1111111',
PRIMARY KEY ( `idEvento` )
) ENGINE = INNODB AUTO_INCREMENT = 372DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci
ただし、次のエラーが返されます。
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '372DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci' at line 17
何が悪いのかわかりません。