Export DataBase with MySQL Workbench with INSERT statements

后端 未结 7 2204
借酒劲吻你
借酒劲吻你 2020-12-13 12:19

I am trying to export the DataBase i have at MySQL Workbench but I am having troubles to generate the INSERT statements on the .sql file.

I order to export the data,

7条回答
  •  情深已故
    2020-12-13 12:48

    You can do it using mysqldump tool in command-line:

    mysqldump your_database_name > script.sql
    

    This creates a file with database create statements together with insert statements.

    More info about options for mysql dump: https://dev.mysql.com/doc/refman/5.7/en/mysqldump-sql-format.html

提交回复
热议问题