MySQL命令 (9) -- 備份和恢復

一、備份整個數據庫(估計也是最土的方法了) mysqldump  -- user=user --host=host --port=port -- password=password dbname > filename.sql 若是沒有指定 host和port參數,則客戶端會連向localhost的mysql server。 若是要備份多個數據庫,則可添加參數 --database, 例如 --da
相關文章
相關標籤/搜索