Live Brilliant

[에러]Illegal mix of collations 문제 해결 본문

개발은 핵찜이야/DATABASE

[에러]Illegal mix of collations 문제 해결

주인정 2012. 4. 13. 18:10
 

에러 메시지..

select count(*) as cnt from yc4_item_qa a left join yc4_item b on (a.it_id = b.it_id) left join g4_member c on (a.mb_id = c.mb_id) where 1

1267 : Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='

error file : /web/adm/shop_admin/itemlist.php

---------------------------------------------------

해결방법 :

phpMyAdmin 에 들어가서..

디비 테이블의 Collations 을 살펴보면 서로 맞질 않아서 발생하는 문제다.

Collations 값을 서로 일치시켜 주면 해결되겠습니다.

디비를 서로 이동해서 설치하다보니 달라진 문제였습니다.

해결 완료..

 

Comments