mysql資料庫匯出 - Linux

Catherine avatar
By Catherine
at 2008-09-15T22:53

Table of Contents

※ 引述《appleboy46 (小惡魔)》之銘言:
: : 可否請指教一下 我該怎麼debug 或實作
: : 方能匯出正確的資料庫內容
: : 請指教
: : 謝謝
: mysqldump --default-character-set=latin1 -u root -p db > db.sql
: 參考這兩篇看看
: http://blog.wu-boy.com/2007/04/08/92/
: http://blog.wu-boy.com/2008/05/09/245/


成功了 萬分感謝

再請教一下 --default-character-set=latin1

這又是怎麼回事

我也發現不少管理者在新增資料庫時 並沒有調整該選項

這樣又會對未來發生什麼不好的影響

請再指教,謝謝


--
這篇文章讓你覺得?════════════════════════
by ycat y
+ . .ˇ ˇ ˇˇ || c
﹀ ̄▽ ̄ ﹏≦b ︶ ̄y – ̄ a
新奇 溫馨 誇張 難過 實用 高興 無聊 生氣 t
═════════════════════════════════ ╯

--
Tags: Linux

All Comments

mysql資料庫匯出

Mary avatar
By Mary
at 2008-09-15T22:31
※ 引述《kadok (暗夜流星)》之銘言: : 我的mysql資料庫匯出 : 不論是透過phpmyadmin : 或是文字介面的mysqldump(該使用者locale為big5) : 結果都是亂碼 : 我的架站程式都是建構在big5上面的 : 應該內容資料的編碼也是big5 : 可是我怎麼樣都匯不出正確的 ...

mysql資料庫匯出

Brianna avatar
By Brianna
at 2008-09-15T20:06
我的mysql資料庫匯出 不論是透過phpmyadmin 或是文字介面的mysqldump(該使用者locale為big5) 結果都是亂碼 我的架站程式都是建構在big5上面的 應該內容資料的編碼也是big5 可是我怎麼樣都匯不出正確的資料庫sql 匯出來的資料 中文字的地方都是亂碼 殘念 ...

請問shell script中export環境變數的問題

Cara avatar
By Cara
at 2008-09-15T20:04
如果現在有兩個script script1和script2 內容分別是 #script2 export PORT=Linux #end of file ============= #script1 ./script2 echo $PORT #end of file 請問有辦法讓script2中e ...

急問 關於架站在linux上

Victoria avatar
By Victoria
at 2008-09-15T17:45
※ 引述《Mengfanwei (棒球andamp;LIFe!!)》之銘言: : 我們實驗室之前架了一個網站在lixux上面 : 現在一改網站內容的東西 : 我只大概知道一些語法 要去更改and#34;index.htmland#34;這個裡面的語法 : 現在問題是 當初不是我架的(我也不是很懂) : ...

急問 關於架站在linux上

Jake avatar
By Jake
at 2008-09-15T17:39
因應該就在/var/www 裡面就會有index.html的檔案了 - ...