1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 에러명

by 운영자 posted Feb 21, 2012
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = '01_1' and po_rel_id = '1' and po_rel_action = '쓰기'

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

error file : /gn/bbs/write_update.php

 

 

 

 

phpmyadmin 으로 DB에 로긴 한 다음에,
db 선택하신후,
sql 탭을 누르고, 명령어 창에다

ALTER DATABASE databasename CHARACTER SET utf8 COLLATE utf8_general_ci;

를 카피해서 넣으신 후,

databasename 부분에 db명을 적어주시고, 실행을 클릭하면 됩니다.

그 후에, 그누 설치하시던지 빌더를 설치하시면 됩니다.

혹 euckr 을 사용하시면, 위의 코드 중에 해당부분 수정하시면 됩니다.