Tema: Tablas mysql
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/09/2015, 14:59
xfrancis
 
Fecha de Ingreso: septiembre-2009
Mensajes: 164
Antigüedad: 14 años, 7 meses
Puntos: 3
Respuesta: Tablas mysql

Gracias oggy_15_3! Ya hice el mwb en el workbench y lo exporte, pero cuando quiero importar la base de datos con el phpmyadmin me sale el siguiente error:

-- -----------------------------------------------------
-- Table `mydb`.`Usuario`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Usuario` (
`idUsuario` INT NOT NULL AUTO_INCREMENT ,
`nombre` VARCHAR(45) NOT NULL ,
PRIMARY KEY (`idUsuario`)
ENGINE = InnoDB;

MySQL ha dicho: Documentación
#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 'ENGINE = InnoDB' at line 8

Que es lo que esta mal?