Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

[KFUG] mysql charactor-set .



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


첩첩산중이군요..
왜 이리 안되는 것들이 많은지.. 윽.. 머리야..
 
mysql을 설치후 확인해 보니 latin1으로 되어 있네요..
그래서 /etc/my.cnf에다..
default-character_set=euc_kr
를 추가하고 재실행을 하니..
아래와 같은 에러가 발생하네요..
 
040506 17:06:10  mysqld started
^G/usr/local/libexec/mysqld: File '/usr/local/share/mysql/charsets/euc_kr.conf' not foun
d (Errcode: 2)
^G/usr/local/libexec/mysqld: Character set 'euc_kr' is not a compiled character set and
is not specified in the '/usr/local/share/mysql/charsets/Index' file
 
bsd# cd /usr/local/share/mysql
bsd# l
total 132
-r--r--r--  1 root  wheel    482 Oct  6  2003 Description.plist
-r--r--r--  1 root  wheel   1081 Oct  6  2003 Info.plist
-r--r--r--  1 root  wheel   2686 Oct  6  2003 MySQL-shared-compat.spec
-r--r--r--  1 root  wheel    460 Oct  6  2003 StartupParameters.plist
-r--r--r--  1 root  wheel    773 Oct  6  2003 binary-configure
drwxr-xr-x  2 root  wheel   1024 Mar 26 16:16 charsets/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 czech/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 danish/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 dutch/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 english/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 estonian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 french/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 german/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 greek/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 hungarian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 italian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 japanese/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 korean/
-r--r--r--  1 root  wheel   8094 Oct  6  2003 make_binary_distribution
-r--r--r--  1 root  wheel   4702 Oct  6  2003 mi_test_all
-r--r--r--  1 root  wheel   1365 Oct  6  2003 mi_test_all.res
-r--r--r--  1 root  wheel   4842 Oct  6  2003 my-huge.cnf
-r--r--r--  1 root  wheel   4818 Oct  6  2003 my-large.cnf
-r--r--r--  1 root  wheel   4801 Oct  6  2003 my-medium.cnf
-r--r--r--  1 root  wheel   2386 Oct  6  2003 my-small.cnf
-r--r--r--  1 root  wheel  24511 Oct  6  2003 mysql-4.0.15.spec
-r--r--r--  1 root  wheel    662 Oct  6  2003 mysql-log-rotate
-r-xr-xr-x  1 root  wheel   5365 Oct  6  2003 mysql.server*
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 norwegian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 norwegian-ny/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 polish/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 portuguese/
-r--r--r--  1 root  wheel    440 Oct  6  2003 postinstall
-r--r--r--  1 root  wheel    587 Oct  6  2003 preinstall
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 romanian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 russian/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 slovak/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 spanish/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 swedish/
drwxr-xr-x  2 root  wheel    512 Mar 26 16:16 ukrainian/
 
mysql을 새로이 설치 안하고 charater-set를 euc_kr로 변경하고 싶습니다.
방법이 있을까요??
알려주시면 감사하겠습니다.
 
그리고 현재 프비 4.9를 사용중인데..
콘솔상에서 한글은 다 깨져서 보이는데..
콘솔상에서 한글 지원하게 할수 없나요???
 
그럼 오늘도 좋은 하루 보내시기 바랍니다.
_______________________________________________
한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트
questions at kr.FreeBSD.org
http://www.kr.FreeBSD.org/mailman/listinfo/questions

[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2004/05/07 00:19:30 $
Powered by FreeBSD