게시판 검색 에러 좀 도와주실분 계신가요..ㅠㅠ 정보
게시판 검색 에러 좀 도와주실분 계신가요..ㅠㅠ본문
게시판 검색시 뜨는 에러 메시지..
select wr_id, wr_subject from g4_write_B01 where wr_is_comment = 0 and wr_num = '-12356' and wr_reply < '' and ((INSTR(wr_subject, '��\\�4')) ) order by wr_num desc, wr_reply desc limit 1
1267 : Illegal mix of collations (euckr_korean_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'locate'
error file : /bbs/board.php
한글로 번역하면
g4_write_B01에서 wr_id, wr_subject을 선택 여기서 wr_is_comment = 0, wr_num = '-12356'와 wr_reply <''와 ((INSTR (wr_subject, '\ \ 4'))) wr_num DESC, wr_reply DESC 한계 1로 순서
1267 : 작업에 대한 잘못된 정렬의 혼합 (euckr_korean_ci, IMPLICIT)와 (utf8_general_ci, 강제)는 '위치'
오류 파일 : / BBS / board.php
오메..어떻게 고쳐야 하는건지..ㅠㅠ
지금 2주째 이것저것 해보고 있는데 다 안되네요..ㅠㅠ
-------------------------------------------------------------------------------------------
이렇게 하라는 답변은 제발 하지말아주세요.ㅠㅠ
Illegal mix of collations (euckr_korean_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '='
character-set 설정이 일정하지 않아 발생하는 문제입니다.
리눅스 서버의 경우 my.cnf 파일을 아래와 같이 charset 설정을 수정하면 됩니다.
[client]
default-character-set = euckr
[mysqld]
character-set-client-handshake = FALSE
init_connect = "SET collation_connection = euckr_korean_ci"
init_connect = "SET NAMES euckr"
default-character-set = euckr
character-set-server = euckr
collation-server = euckr_korean_ci
[mysql]
default-character-set = euckr
이렇게 하라는 답변은 제발 하지말아주세요.ㅠㅠ
select wr_id, wr_subject from g4_write_B01 where wr_is_comment = 0 and wr_num = '-12356' and wr_reply < '' and ((INSTR(wr_subject, '��\\�4')) ) order by wr_num desc, wr_reply desc limit 1
1267 : Illegal mix of collations (euckr_korean_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'locate'
error file : /bbs/board.php
한글로 번역하면
g4_write_B01에서 wr_id, wr_subject을 선택 여기서 wr_is_comment = 0, wr_num = '-12356'와 wr_reply <''와 ((INSTR (wr_subject, '\ \ 4'))) wr_num DESC, wr_reply DESC 한계 1로 순서
1267 : 작업에 대한 잘못된 정렬의 혼합 (euckr_korean_ci, IMPLICIT)와 (utf8_general_ci, 강제)는 '위치'
오류 파일 : / BBS / board.php
오메..어떻게 고쳐야 하는건지..ㅠㅠ
지금 2주째 이것저것 해보고 있는데 다 안되네요..ㅠㅠ
-------------------------------------------------------------------------------------------
이렇게 하라는 답변은 제발 하지말아주세요.ㅠㅠ
Illegal mix of collations (euckr_korean_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '='
character-set 설정이 일정하지 않아 발생하는 문제입니다.
리눅스 서버의 경우 my.cnf 파일을 아래와 같이 charset 설정을 수정하면 됩니다.
[client]
default-character-set = euckr
[mysqld]
character-set-client-handshake = FALSE
init_connect = "SET collation_connection = euckr_korean_ci"
init_connect = "SET NAMES euckr"
default-character-set = euckr
character-set-server = euckr
collation-server = euckr_korean_ci
[mysql]
default-character-set = euckr
이렇게 하라는 답변은 제발 하지말아주세요.ㅠㅠ
댓글 전체

현재사용하시는 html 파일 또는 php파일의 인코딩방식과 charset, 그리고 db에서 사용하는 인코딩방식은 어떻게 되는건가요?
현재 UTF-8 입니다.
스킨은 UTF-8인데 mysql은 euc-kr 같은데요?