Fehler-Nummer: 1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

Tabelle-Name: xyz
Typ: InnoDB
Collation:latin1_swedish_ci

Felder:

---------------------------------------------------------------------------
            Field        | Type        | Collation         | Extra        |
---------------------------------------------------------------------------
            id           | int         |                   | Primary Key  |
---------------------------------------------------------------------------
            name         | varchar     | latin1_swedish_ci |              |
---------------------------------------------------------------------------

Dies ist meine Datenbank-Tabelle. Und Wenn ich versuche, legen Sie einen Wert für name so etwas wie dieses

If T₀, T₁, T . . . . . . . Tn represent the terms in the expansion of (x + a)n, then (T - T + T - . . )2 + (T - T + T - . . )2 

Bekomme ich die folgende Fehlermeldung:

Error Number: 1267Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='

Ich habe eine schnelle Forschung & viele S. O Fragen und Artikel, die Bereitstellung von Lösungen, aber keiner von Ihnen arbeitete für mich.

Meine Referenz: Besuchen

Ich versucht, die änderung der Sortierung der Tabelle mit einer Abfrage wie diese:

ALTER TABLE xyz CHARACTER SET utf8 COLLATE utf8_general_ci;

Aber der Fehler blieb immer noch.

Ich auch versucht, mit Hilfe utf8_unicode_ci aber auch das hat nicht funktioniert.

Gründen? Lösungen? Gracias.

mögliche Duplikate von MySQL-Illegal mix of collations

InformationsquelleAutor Sajeev C | 2015-06-30

Schreibe einen Kommentar