[MySQL] Erreur de collation
Résolu
Ziltoid
Messages postés
32
Date d'inscription
Statut
Membre
Dernière intervention
-
Ziltoid Messages postés 32 Date d'inscription Statut Membre Dernière intervention -
Ziltoid Messages postés 32 Date d'inscription Statut Membre Dernière intervention -
Bonjour.
J'essai de rentrer la requête suivante (sous phpMyAdmin) :
CREATE TABLE `forum_mp` (
mp_id int(11) NOT NULL AUTO_INCREMENT,
mp_expediteur int(11) NOT NULL,
mp_receveur int(11) NOT NULL,
mp_titre varchar(100) collate latin1_general_ci NOT NULL,
mp_text text collate latin1_general_ci NOT NULL,
mp_time int(11) NOT NULL,
mp_lu enum('0','1') collate latin1_general_ci NOT NULL,
PRIMARY KEY (`mp_id`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin COLLATE=latin1_general_ci AUTO_INCREMENT=0 ;
Et j'obtiens le message suivant :
MySQL a répondu:
#1253 - COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
Quelqu'un peut m'aider à corriger? Merci d'avance.
J'essai de rentrer la requête suivante (sous phpMyAdmin) :
CREATE TABLE `forum_mp` (
mp_id int(11) NOT NULL AUTO_INCREMENT,
mp_expediteur int(11) NOT NULL,
mp_receveur int(11) NOT NULL,
mp_titre varchar(100) collate latin1_general_ci NOT NULL,
mp_text text collate latin1_general_ci NOT NULL,
mp_time int(11) NOT NULL,
mp_lu enum('0','1') collate latin1_general_ci NOT NULL,
PRIMARY KEY (`mp_id`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin COLLATE=latin1_general_ci AUTO_INCREMENT=0 ;
Et j'obtiens le message suivant :
MySQL a répondu:
#1253 - COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
Quelqu'un peut m'aider à corriger? Merci d'avance.
A voir également:
- [MySQL] Erreur de collation
- Mysql community server - Télécharger - Bases de données
- Erreur 0x80070643 - Accueil - Windows
- Erreur 0x80070643 Windows 10 : comment résoudre le problème de la mise à jour KB5001716 - Accueil - Windows
- Erreur 4201 france tv ✓ - Forum Réseaux sociaux
- J'aime par erreur facebook notification - Forum Facebook