화

물음표 뜹니다..해결좀 해주세요..

· 2009-06-03 (수) 11:58:22 · 2187 · 6

http://www.genesisinc.co.kr/en/news/news.php

왜 물음표가 뜰까요~?
euc-kr버젼입니다. .
왜그런건지.. 현재 머리가 너무 지끈지끈..
ㅜㅜ


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

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

error file : /bbs/bbs/write_update.php


이렇게 오류나요

|

댓글 6개

DB collation이 UTF-8로 되었을 때 비슷한 현상이 나타나던데요..
그럼 UTF-8 로 다시 깔면 괜찮다는 말씀이세요`?
2009-06-03 (수) 14:37:30
http://dev.mysql.com/doc/refman/4.1/en/charset-literal.html

select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = 'board_kr' and po_rel_id = '2' and po_rel_action = _euckr '쓰기' euckr_korean_ci
2009-06-03 (수) 14:38:22
lib/common.php에서 다음 부분 검토해 보세요.
// DB 연결
function sql_connect($host, $user, $pass)
{
global $g4;

if (strtolower($g4['charset']) == 'utf-8') @mysql_query(" set names utf8 ");
else if (strtolower($g4['charset']) == 'euc-kr') @mysql_query(" set names euckr ");
return @mysql_connect($host, $user, $pass);
}
http://drupal.kldp.net/node/12
답변을 참고하세요

phpMyadmin 을 설치해서 collation을 살펴보세요.
저도 답변 좀 드리고 싶은데...빨리 배워야지...
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
09-06-04 조회 4,136
09-06-04 조회 1,375
09-06-04 조회 1,609
09-06-04 조회 1,055
09-06-03 조회 1,733
09-06-03 조회 1,612
09-06-03 조회 1,424
09-06-03 조회 1,091
09-06-03 조회 1,044
09-06-03 조회 1,202
09-06-03 조회 1,500
09-06-03 조회 994
09-06-03 조회 924
09-06-03 조회 1,708
09-06-03 조회 1,064
09-06-03 조회 1,976
09-06-03 조회 1,164
09-06-03 조회 2,188
09-06-03 조회 881
09-06-03 조회 1,070