2016-12-04 83 views
0

的MyBB SQL錯誤SQL錯誤:1267 - 排序規則的非法組合(utf8_general_ci,隱含的)和(utf8_persian_ci,隱含的)操作 '='

的MyBB遇到了內部SQL錯誤,無法繼續。

SQL錯誤:

1267 - Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_persian_ci,IMPLICIT) for operation '=' 

查詢:

SELECT t.* 
    ,t.subject AS threadsubject 
    ,u.username 
    ,u.usergroup 
    ,u.displaygroup 
    ,i.* 
    ,i.NAME AS iconname 
    ,t.dateline AS threaddate 
    ,t.lastpost AS threadlastpost 
FROM mybb_threads t 
LEFT JOIN mybb_icons i ON (i.iid = t.icon) 
LEFT JOIN mybb_users u ON (t.lastposter = u.username) 
WHERE t.visible = '1' 
    AND t.uid = '54445' 
GROUP BY t.tid 
ORDER BY threadlastpost DESC LIMIT 5 

請聯繫MyBB的集團的技術支持。

image1

image 2

+0

的可能的複製[歸類的非法混合MySQL的錯誤](http://stackoverflow.com/questions/1008287/illegal-mix-of-collat​​ions-mysql-error) – Evert

+0

通常的差的結果設計表格。是否將t.lastposter和u.username定義爲具有相同的排序規則? – jarlh

+0

請提供更詳細的指導 – abbas

回答

相關問題