Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/12/2004, 17:12
Bilka
 
Fecha de Ingreso: junio-2004
Ubicación: Barcelona
Mensajes: 107
Antigüedad: 19 años, 10 meses
Puntos: 2
#1064 - You have an error in your SQL syntax

Este es el error k me sale en PHPMYADMIN al subir mi BBDD.

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 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=5' at line 26

La base de datos es:

CREATE TABLE `comentarios` (
`idcom` int( 25 ) NOT NULL AUTO_INCREMENT ,
`idnoticia` varchar( 25 ) NOT NULL default '',
`nick` varchar( 50 ) NOT NULL default '',
`mail` varchar( 50 ) NOT NULL default '',
`comentario` text NOT NULL ,
PRIMARY KEY ( `idcom` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =5

Sabeis por k me da este error? Gracias^^