par
gesualda » 03 nov. 2005, 21:28
Bonjour à tous,
Voici l'erreur que j'ai lorsque je veux creer ma table.
Code : Tout sélectionner
#1064 - Erreur de syntaxe près de 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=0' à la ligne 11
et voici la table:
Code : Tout sélectionner
CREATE TABLE `client_tbl` (
`id_clients` mediumint(9) NOT NULL auto_increment,
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`titre` varchar(15) NOT NULL default '',
`nom` varchar(100) NOT NULL default '',
`prenom` varchar(100) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`soc` varchar(100) NOT NULL default '',
`nombre` smallint(6) NOT NULL default '0',
PRIMARY KEY (`id_clients`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
En local, pour la création pas de soucis, mais chez mon hebegeur ca marche, pourriez vous m'aider et m'expliquer. ?
Merci
Bonjour à tous,
Voici l'erreur que j'ai lorsque je veux creer ma table.
[code]
#1064 - Erreur de syntaxe près de 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=0' à la ligne 11
[/code]
et voici la table:
[code]
CREATE TABLE `client_tbl` (
`id_clients` mediumint(9) NOT NULL auto_increment,
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`titre` varchar(15) NOT NULL default '',
`nom` varchar(100) NOT NULL default '',
`prenom` varchar(100) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`soc` varchar(100) NOT NULL default '',
`nombre` smallint(6) NOT NULL default '0',
PRIMARY KEY (`id_clients`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ;
[/code]
En local, pour la création pas de soucis, mais chez mon hebegeur ca marche, pourriez vous m'aider et m'expliquer. ?
Merci