veteran1983
Registrato da
Ultima attività
gruppi
Attività recente
Base de données
17 giu 2016
Lorsque je l'importe il m'affiche ceci :
Erreur
requête SQL:
CREATE TABLE IF NOT EXISTS `nf_sessions_history` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`session_id` VARCHAR( 32 ) DEFAULT NULL ,
`user_id` INT( 11 ) UNSIGNED NOT NULL ,
`ip_address` VARCHAR( 39 ) NOT NULL ,
`host_name` VARCHAR( 100 ) NOT NULL ,
`referer` VARCHAR( 100 ) NOT NULL ,
`user_agent` VARCHAR( 100 ) NOT NULL ,
`date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
PRIMARY KEY ( `id` ) ,
UNIQUE KEY `session_id` ( `session_id` , `user_id` , `ip_address` , `host_name` , `referer` , `user_agent` , `date` ) ,
KEY `user_id` ( `user_id` )
) ENGINE = INNODB DEFAULT CHARSET = utf8;
MySQL a répondu:[img width=11,height=11]http://sql.free.fr/phpMyAdmin/themes/original/img/b_help.png[/img]
#1071 - Specified key was too long; max key length is 1000 bytes
Je voudrais savoir comment remédier à ce problème.
Vous emerciant par avance pour votre aide