May 2, 2011

mysql移機(Big5->UTF-8)工作紀錄

原機:
mysqldump -u root -p --default-character-set=big5 --skip-extended-insert DB > DB.sql
perl -pi -e 's/DEFAULT CHARSET=big5/DEFAULT CHARSET=utf8/;' DB.sql
piconv -f big5 -t utf8 DB.sql > DB_utf8.sql

新機:
mysql --default-character-set=utf8 -u root -p leave < DB_utf8.sql

參考資料來源:
http://blog.outian.net/archives/312

0推薦此文章
Today's Visitors: 0 Total Visitors: 40
Personal Category: 上班 Topic: technology / tech info / programming
歷史上的今天:
[Trackback URL]

Reply
  • 1樓

    1樓搶頭香

    含吴乵

    還行喔。
    和順香業網拍事業部

    www.09169755278.com

    歡迎來參觀喔!

    侽也

  • at June 17, 2012 09:32 AM comment
  • 2樓

    2樓頸推

    蒼 茫 古 木 連 窮 巷 ,  寥 落 寒 山 對 虛 牖 。
    -----------------------------------------------------------------------------------------------------

    只要是人,都會需要0

    正常人請勿進入*

    歡迎免費報名索取資訊>>>http://511228.weebly.com/

    請點小房子↓

    -----------------------------------------------------------------------------------------------------
    以上由本站,發文。意者請到>>>http://888555.weebly.com/
    -----------------------------------------------------------------------------------------------------
    三 日 入 廚 下 ,  洗 手 作 羹 湯 。

  • at December 14, 2012 03:32 PM comment | Homepage
Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0