Home | Data Center | Contact US | Login

Á¦¸ñ mysql4.1.x -> mysql4.0.x ·Î ¿Å±â±â
ÀÛ¼ºÀÏ 2006-10-31 17:11:09
mysql 4.0.x ¹öÀü¿¡¼­ 4.1.x ¹öÀü°ú character-setÀÌ ´Þ¶ó¼­ µ¥ÀÌÅ͸¦ ÀÌÀüÇÒ¶§ °í»ýÇϽô ºÐµéÀÌ ¸¹½À´Ï´Ù.
4.0.x ¹öÀü¿¡¼­ 4.1.x ¹öÀüÀ¸·Î ¾÷±×·¹À̵å ÇÏ´Â ¹®¼­´Â ¸¹Áö¸¸, ´Ù¿î±×·¹À̵忡 °üÇÑ ¹®¼­´Â º°·Î ¾ø¾î¼­ Àúµµ °í»ýÀ» Á» Çß½À´Ï´Ù. ^^

1. 4.1¿¡¼­ ´ýÇÁ ¹ÞÀ»¶§ --default-character-set=euckr ¿É¼ÇÀ» ÁÖ°í ´ýÇÁ ¹Þ´Â´Ù.

# /usr/local/mysql/bin/mysqldump --default-character-set=euckr -u xxx -p xxx > xxx.sql

2. ´ýÇÁ¹ÞÀº xxx.sql ÆÄÀÏÀ» vi ÆíÁý±â·Î ¿­°í ÆíÁý

" DEFAULT CHARSET=euckr" »èÁ¦       :%s/ DEFAULT CHARSET=euckr//g
" collate euckr_bin" »èÁ¦                     :%s/ collate euckr_bin//g
euckr -> euc_kr·Î º¯°æ                       :%s/euckr/euc_kr/g

3. xxx.sqlÀ» 4.0ÀÌÇÏ ¹öÀü¿¡¼­ º¹±¸

# /usr/local/mysql/bin/mysql -u xxx -p xxx < xxx.sql
  /etc/fstab ¿¡¼­ noatime ÁÖ±â
  iftop ¼³Ä¡ ¹× »ç¿ëÇϱâ





ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ
ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ