[英]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 mysqldump
和mysqldump --help
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.