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

»õ·Î Ãß°¡ÇÑ µð½ºÅ©¿¡ mysql µ¥ÀÌŸ ¸¦ ¿¬°áÇ߰ŵç¿ä...



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

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


µð½ºÅ©¸¦ ÇÑÀå Ãß°¡Çß½À´Ï´Ù.

Ãß°¡´Â ¿©±â µµ¿òÀ¸·Î Àß µÇ¾úÁö¿ä...
*******************************
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a   126M    43M    72M    38%    /
/dev/ad0s1f   252M    20K   232M     0%    /tmp
/dev/ad0s1g    35G   1.9G    31G     6%    /usr
/dev/ad0s1e   252M   7.9M   224M     3%    /var
/dev/ad1s1e   4.7G   2.0K   4.3G     0%    /data   # <-- »õ·Î Ãß°¡ÇÑ µð½ºÅ©¿¹¿ä..
procfs        4.0K   4.0K     0B   100%    /proc
*******************************

À§ÀÇ ¸¶¿îÆ® Á¤º¸¿¡¼­ /dev/ad1s1eÀÎ /data ¿¡ mysql µ¥ÀÌŸ¸¦ ³ÖÀ»·Á°í..
cd /usr/ports/databases/mysql323-server
make install clean WITH_CHARSET=euc_kr SKIP_DNS_CHECK=yes
Çß½À´Ï´Ù. Makefile¿¡¼­ DB_DIR=/data/db/mysql ·Î ¼öÁ¤À» Çß°í¿ä...

¼³Ä¡¸¦ Àß ÇÏ´õ´Ï... ¾Æ·¡¿Í °°Àº ¿À·ù°¡ ¹ß»ýÇϴµ¥...
»õ·Î Ãß°¡ÇÑ µð½ºÅ©¿¡ °ü·Ã µð·ºÅ丮¸¦ »ý¼ºÇÏÁö ¸øÇÏ´Â°Í °°½À´Ï´Ù.

Àü¹ø¿¡ ¼³Ä¡ÇÒ¶§ DB_DIRÀ» /usr/ ¹Ø¿¡ »ý¼ºÇÏ·Á°í ÇÒ¶§µµ ÀÌ·± Çö»óÀÌ
ÀÖ¾ú½À´Ï´Ù.

¾î°¼­... /var/ ¹Ø¿¡ »ý¼ºÇÒ¶§´Â ¹®Á¦¾øÀÌ µÇ´Âµ¥... ±× ÀÌ¿ÜÀÇ µð·ºÅ丮¿¡
¸¸µé·Á¸é ÀÌ·± ¿À·ù°¡ ¹ß»ýÇϸ鼭 stopÀÌ µÇ¾î¹ö¸®´ÂÁö... ¸ð¸£°Ú³×¿ä...

ÂüÀ¸·Î, ¼º°¡½Ã°Ô Áú¹®¸¸ ¿Ã¸®´Â°Í °°½À´Ï´Ù.

Á¦°¡ µð·ºÅ丮¸¦ /data/db/mysqlÀ» ¸¸µé¾î³õ°í ¼³Ä¡Çß´õ´Ï...
À̹ø¿£ ÀÌ¹Ì ¼³Ä¡µÇ¾îÀÖ´Ù°í ¿À·ù°¡ ³ª¸é¼­ ¼³Ä¡°¡ µÇÁö ¾Ê´õ±º¿ä...

*******************************
<¿À·ù³»¿ëÀÔ´Ï´Ù.>
Preparing columns_priv table
Installing all prepared tables
/usr/local/libexec/mysqld: Can't change dir to '/data/db/mysql/' (Errcode: 2)
021030 21:21:05  Aborting

021030 21:21:05  /usr/local/libexec/mysqld: Shutdown Complete

Installation of grant tables failed!

Examine the logs in /data/db/mysql for more information.
You can also try to start the mysqld daemon with:
/usr/local/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/local/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /data/db/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
*** Error code 1

Stop in /usr/ports/databases/mysql323-server.åy«–Š$jwmjG©j»bœ¡TP†Ûiÿü0ÂJß­ç›±Ú+ƒñ@BJÿN…'²æìr¸›zǧvf¢–Ú&j:+v‰¨’±kyàRŠàÂ+aº{.nÇ+‰·ª¹ë-ЉìŠ{axƒb‡í…鞲Ơ

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

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/10/31 23:00:24 $
Powered by FreeBSD