PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Suite Fehler in Step 9: Illegal mix of collations - das stimmt aber nicht



Supernature
17.01.2010, 16:46
Ich hatte vor dem Upgrade den entsprechenden Hinweis gelesen, dass man die Kollation der DB überprüfen soll.
Das habe ich getan - aber irgendwie hatte ich da wohl etwas übersehen.
Bei der Durchführung des Upgrades erhielt ich jedenfalls in Schritt 9 "Aktualisiere Alben" dann plötzlich die Meldung "Illegal mix of collations" (vollständige Meldung siehe unten).

Ich habe daraufhin nochmal geschaut und bei wirklich allen Tabellen die Kollation entsprechend geändert, es haben jetzt alle die selbe Kollation wie die DB selbst: latin1_swedish_ci

Habe das Upgrade neu gestartet, aber die Meldung erscheint weiterhin:


Datenbankfehler in vBulletin 3.8.4:

Invalid SQL:

(SELECT 'package' AS classtype, package.packageid AS typeid, package.packageid AS packageid,
package.productid AS productid, if(package.productid = 'vbulletin', 1, product.active) AS enabled,
package.class AS class, -1 as isaggregator
FROM package AS package
LEFT JOIN product AS product
ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin'
)

UNION

(SELECT 'contenttype' AS classtype, contenttypeid AS typeid, contenttype.packageid AS packageid,
1, 1, contenttype.class AS class , contenttype.isaggregator
FROM contenttype AS contenttype
INNER JOIN package AS package ON package.packageid = contenttype.packageid
LEFT JOIN product AS product ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin' );

MySQL-Fehler : Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
Fehler-Nr. : 1267
Fehler-Zeit : Sunday, 17.01.2010 @ 16:19:05

Wie bringe ich das in Ordnung?


Edit: Man sollte daran denken, auch die Kollation der Felder anzupassen ;).
Dieses Thema kann als schlechtes Beispiel stehen bleiben :D.

Kolbi
17.01.2010, 18:35
Schau mal hier: http://www.vbulletin-germany.com/forum/showthread.php?t=45959

Oder hier: http://www.vbulletin-germany.com/forum/showthread.php?45778-Upgrade-luft-durch-aber-nachher-MySQL-Fehler

Supernature
17.01.2010, 19:43
Danke - wie gesagt, gesehen hatte ich das schon vorher, ich war nur zu doof es aufmerksam zu lesen :).

MK|breaker
19.01.2010, 14:11
Dann änder die Tabellen doch ;)

http://www.vbulletin-germany.com/forum/showthread.php?46259-Kollation-fr-Update-auf-vb4-per-PHP-erledigen