Emma asked ... Foot pedal smoking?    |    Morne asked ... My defy dtl 125 toploader?    |    Ernie asked ... How to fix gearchange ldv maxus van 2006?    |    Cuckoo asked ... Changing batteries on a fixed bt corded phone?    |    Marc Nollid asked ... Nissan Micra mk 5 2018 rear seat mecanism?    |    Click here to ask your question

How can I backup a MySQL DB so that each Insert command is on a new line?

I would like to know the best command line string to backup a MySQL database so that when -c is used, each Insert command is shown on a new line.

I am trying to restore a large database and need to break the file up into smaller files. This is easier if the file is formatted neatly.
Cal, February 2005
A good script that will do that is in PHPMyAdmin, its free and the export function will do as you asked

Mike.Sum, July 2008