我一直在尝试使用web界面在phpmyadmin上创建一个新表,这个表如图所示
所以,我试图手动运行查询,即:
CREATE TABLE `gerenciamentod2`.`permissoes`
(
`cod_perm` INT(11) NOT NULL AUTO_INCREMENT,
`perm_tipo` VARCHAR(20) CHARSET=latin1 COLLATE latin1_general_ci NOT NULL,
`perm_dist1` INT(11) NOT NULL,
`perm_dist2` INT(11) NOT NULL,
`perm_pags` VARCHAR(20) CHARSET=latin1 COLLATE latin1_general_ci NOT NULL,
`perm_datainicio` DATETIME NOT NULL,
`perm_datatermino` DATETIME NOT NULL,
`perm_status` VARCHAR(10) CHARSET=latin1 COLLATE latin1_general_ci NOT NULL,
`DELETED` VARCHAR(10) CHARSET=latin1 COLLATE latin1_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`cod_perm`)
) ENGINE = InnoDB CHARSET=latin1 COLLATE latin1_general_ci;
我错过了什么?