How to Backup & Restore MySQL Database如何備份和恢復MySQL數據庫
Note: My WordPress database name is wordpress.注:我的WordPress數據庫名稱是在WordPress 。 I will use it in the example below.我將利用它在下面的例子。
It will work for any MySQL database.它將工作的任何MySQL數據庫。
(The procedure below will work with any version of WordPress too) (下面的程序將與任何版本的WordPress太)
Backup: 備份:
mysqldump --opt wordpress | gzip -9 > wordpress.sql.gz mysqldump -選擇的W ordPress| g zip- 9> w ordpress.sql.gz
Restore: 還原:
gunzip wordpress.sql.gz gunzip wordpress.sql.gz
mysql -u rootusername -p **** wordpress < wordpress.sql MySQL的中美rootusername - P的****的WordPress < wordpress.sql
For detailed usage of mysqldump and mysql commands refer to詳細的使用mysqldump與MySQL的命令是指 MySQL documentation. MySQL的文件。
PS.保安局常任秘書長。 I am aware of the Single click plugin for WordPress.我知道單按一下插件的WordPress 。 But I don’t trust any WordPress plugin with my database, unless I have fully checked the code但我不信任任何wordpress插件與我的數據庫,除非我有充分檢查守則 ![]()
Filed under提起下 Database數據庫 , , How To如何 , , Pro Blogging贊成Blogging , , RDBMS RDBMS的 , , Technology技術 , , WordPress在WordPress | |
| |
RSS 2.0 2.0 | |
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |





June 15th, 2005 at 3:34 am 2005年6月15日在上午03時34分
what about relations and Innodb?什麼關係和InnoDB的?
July 1st, 2005 at 1:49 am 2005年7月1日在上午01時49分
Works in InnoDB too工程在InnoDB的太
November 4th, 2005 at 1:04 pm 2005年11月4日在下午1時04分
Hi嗨
I did like your blog postings and comments.我喜歡你的博客帖子和評論。 I am in big problem since many days.我在大問題,由於許多天。 Any kind of help would be appeiciated.任何形式的幫助將appeiciated 。
I want some help to enter data into mysql databasefrom a flash form using coldfusion components ?我想一些幫助輸入數據到MySQL的databasefrom的Flash形式的使用ColdFusion組件?
i’m using web services and simply want to pass data from my flash form to my cfc while staying in flash…我使用的Web服務和只想通過數據從我的Flash的形式到我的氟氯化碳,而留在閃光…
any actionscript (or coldfusion code ‘cfc’) that anyone could provide or even links to other ressources on this specific topic would be awesome…任何的ActionScript (或* ColdFusion代碼'氟氯化碳' ) ,任何人可以提供,甚至鏈接到其他ressources就這一具體的話題將是可怕…
if someone could help me with this process i would be greatful…..如果有人可以幫助我在這一過程中,我將不勝感激… ..
thank you in advance…謝謝你在預先…
Imran Hashmi imran hashmi