Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在没有数据的情况下转储mysql数据库?_Mysql_Database_Mysqldump_Mysql Management - Fatal编程技术网

如何在没有数据的情况下转储mysql数据库?

如何在没有数据的情况下转储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

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 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).