erreur 1064 à l'importation
Posté : 20 déc. 2005, 17:27
Bonjour j’ai ce type d’erreur lorsque je veux importer ma base de données
La version de départ est une copie de mon site actuel http://www.collectif-noctambules.com sous joomla que je souhaite transférer chez 1and1 et, où tout fonctionne très bien. Je n’ai jamais rencontré ce type d’erreur auparavant.
Version de phpMyAdmin 2.6.0-pl2 MySQL 4.1.10a sur le serveur mysql.keohosting.net - utilisateur : [email protected]
Comment puis-je résoudre le problème :
requête SQL:
CREATE TABLE `jos_artave_artists` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`name` text NOT NULL ,
`genre` int( 11 ) NOT NULL default '0',
`website` text,
`website_alias` text,
`introtext` mediumtext,
`fulltext` mediumtext,
`image` text,
`published` tinyint( 1 ) NOT NULL default '0',
`ordering` int( 11 ) NOT NULL default '0',
`hits` int( 11 ) NOT NULL default '0',
`created_by` int( 11 ) NOT NULL default '0',
`created_on` varchar( 8 ) NOT NULL default '',
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =2
MySQL a répondu:
#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=2' at line 16
La version de départ est une copie de mon site actuel http://www.collectif-noctambules.com sous joomla que je souhaite transférer chez 1and1 et, où tout fonctionne très bien. Je n’ai jamais rencontré ce type d’erreur auparavant.
Version de phpMyAdmin 2.6.0-pl2 MySQL 4.1.10a sur le serveur mysql.keohosting.net - utilisateur : [email protected]
Comment puis-je résoudre le problème :
requête SQL:
CREATE TABLE `jos_artave_artists` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`name` text NOT NULL ,
`genre` int( 11 ) NOT NULL default '0',
`website` text,
`website_alias` text,
`introtext` mediumtext,
`fulltext` mediumtext,
`image` text,
`published` tinyint( 1 ) NOT NULL default '0',
`ordering` int( 11 ) NOT NULL default '0',
`hits` int( 11 ) NOT NULL default '0',
`created_by` int( 11 ) NOT NULL default '0',
`created_on` varchar( 8 ) NOT NULL default '',
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =2
MySQL a répondu:
#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=2' at line 16