O'Reilly logo

MySQL 8 Cookbook by Karthik Appigatla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Only data and no schema

You can use the following options to take only a data dump, excluding the schema.

--complete-insert will print the column names in the INSERT statement, which will help when you have extra columns in the modified table:

shell> mysqldump --all-databases --no-create-db --no-create-info --complete-insert > data.sql

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required