CREATE TABLE `2m_aperturas_credito` (
`idaperturacredito` int(10) NOT NULL AUTO_INCREMENT,
`nombreapertura` varchar(100) NOT NULL,
`activo` int(10) NOT NULL DEFAULT '1',
PRIMARY KEY (`idaperturacredito`),
KEY `idaperturacredito` (`idaperturacredito`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
This gave me an error:
[Err] 1005 - Can't create table 'mydb.2m_aperturas_credito' (errno: -1)
What can be wrong here??