Think before you speak, read before you think.

mysqldump 加 where 条件

导出表,时间大于 2017-05-17

mysqldump -u root -p dw tracking --where 'stm > 2017-05-17' > dw.tracking.2017-05-17.sql

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *