如何在没有数据的情况下转储mysql数据库?
Hi需要使用视图和sp转储我的mysql数据库。但我不需要任何数据。我如何为它编写mysqldump命令如何在没有数据的情况下转储mysql数据库?,mysql,database,mysqldump,mysql-management,Mysql,Database,Mysqldump,Mysql Management,Hi需要使用视图和sp转储我的mysql数据库。但我不需要任何数据。我如何为它编写mysqldump命令 --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 exam
--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).
来源:manmysqldump
和mysqldump--help
-R, --routines Dump stored routines (functions and procedures).