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.
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.