Hola buenas noches tengo el siguiente problema al crear mis tablas en phpmyadmmin espero que me puedan ayudar... gracias
CREATE TABLE `abonos` (
`mov_id` int( 10 ) NOT NULL AUTO_INCREMENT ,
`abono_modelo` varchar( 30 ) NOT NULL ,
`abono_valor` varchar( 30 ) NOT NULL ,
`abono_serial` varchar( 30 ) NOT NULL ,
`abono_fecha` datetime NOT NULL ,
`abono_cliente` varchar( 40 ) NOT NULL ,
PRIMARY KEY ( `mov_id` )
) ENGINE = MYISAM AUTO_INCREMENT =7 DEFAULT CHARSET = utf8;
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 'compu
CREATE TABLE `abonos` (
`mov_id` int(10) NOT NULL auto_increment' at line 1
ese create table me corre perfecto, no habrás tenido algo antes de eso sin cerrar? que version de mysql tienes?
Cita de: engel lex en 1 Mayo 2014, 08:03 AM
ese create table me corre perfecto, no habrás tenido algo antes de eso sin cerrar? que version de mysql tienes?
phpMyAdmin Database Manager Version 2.10.3
PHP Information Version 5.2.6
About AppServ Version 2.5.10 for Windows
AppServ is a merging open source software installer package for Windows includes :
• Apache Web Server Version 2.2.8
•PHP Script Language Version 5.2.6
•MySQL Database Version 5.0.51b
•phpMyAdmin Database Manager Version 2.10.3
no veo el error... el mysql tampoco es tan viejo como para rechazar ese comando...
puedes asegurarte de copiar este error completo
Citar#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 'compu
veo que dice "compu" pero en tu tabla no tienes nada de ese nombre