j'ai instalé joomla 1.7
en local et j'ai choisie mysql comme base donnée
et a l'importation de la base donnée (mysql40 + j'ai ajouté un drope table)
il me donne cette erreur
Requête SQL:
CREATE TABLE IF NOT EXISTS `y6izj_assets` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
`parent_id` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set parent.',
`lft` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set lft.',
`rgt` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set rgt.',
`level` INT( 10 ) UNSIGNED NOT NULL COMMENT 'The cached level in the nested tree.',
`name` VARCHAR( 50 ) NOT NULL COMMENT 'The unique name for the asset.\n',
`title` VARCHAR( 100 ) NOT NULL COMMENT 'The descriptive title for the asset.',
`rules` VARCHAR( 5120 ) NOT NULL COMMENT 'JSON encoded access control.',
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `idx_asset_name` ( `name` ) ,
KEY `idx_lft_rgt` ( `lft` , `rgt` ) ,
KEY `idx_parent_id` ( `parent_id` )
) TYPE = MYISAM AUTO_INCREMENT =232;
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 'TYPE=MyISAM AUTO_INCREMENT=232' at line 14
en local et j'ai choisie mysql comme base donnée
et a l'importation de la base donnée (mysql40 + j'ai ajouté un drope table)
il me donne cette erreur
Requête SQL:
CREATE TABLE IF NOT EXISTS `y6izj_assets` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
`parent_id` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set parent.',
`lft` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set lft.',
`rgt` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Nested set rgt.',
`level` INT( 10 ) UNSIGNED NOT NULL COMMENT 'The cached level in the nested tree.',
`name` VARCHAR( 50 ) NOT NULL COMMENT 'The unique name for the asset.\n',
`title` VARCHAR( 100 ) NOT NULL COMMENT 'The descriptive title for the asset.',
`rules` VARCHAR( 5120 ) NOT NULL COMMENT 'JSON encoded access control.',
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `idx_asset_name` ( `name` ) ,
KEY `idx_lft_rgt` ( `lft` , `rgt` ) ,
KEY `idx_parent_id` ( `parent_id` )
) TYPE = MYISAM AUTO_INCREMENT =232;
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 'TYPE=MyISAM AUTO_INCREMENT=232' at line 14
Commentaire