Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 13
    Well, I really would like teh table data dumps to be SQL inserts also :Þ Commented Jun 10, 2011 at 13:26
  • 2
    mysqlimport can be used to import the resulting data txt files. Also any table names containing a period (.) eg: my.table will only result in a data file of the same name (without .txt extension). dev.mysql.com/doc/refman/5.0/en/… Additionally this seems to be the only way to perform a --single-transaction table per file dump. Commented Dec 7, 2014 at 4:47
  • 7
    Note that this solution requires the FILE privilege on the server, and will write the files into the disk on the server. Commented Nov 21, 2015 at 15:12
  • 2
    --tab doesn't generate inserts, which would be required if you want to manually join databases on two machines, in example Commented Aug 3, 2016 at 11:31