簡體   English   中英

如何在沒有數據的情況下轉儲mysql數據庫?

[英]How to dump mysql database with out data?

您好需要轉儲我的mysql數據庫與視圖和sp的。 但是我不需要任何數據。 我該如何寫mysqldump命令呢?

  -R, --routines      Dump stored routines (functions and procedures).
--no-data, -d

       Do not write any table row information (that is, do not dump table contents). This is useful if you want to dump only the CREATE TABLE statement for
       the table (for example, to create an empty copy of the table by loading the dump file).

來源: man mysqldumpmysqldump --help

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM