Use Table I. Mysqldump, free drop

Research students sent a demand for payment of the production data export, import.

For the sake of security, a data export, free drop.

Solution: Export command parameters increase--skip-add-drop-table,这样只有create,没有delete。

mysqldump -h127.0.0.1 -uSSSS -p --skip-add-drop-table --databases pay_db --tables Branch > /tmp/Branch02.sql

 

Guess you like

Origin www.cnblogs.com/ccielife/p/10951524.html