mysqldump -uxxx -pxxxx -hxxxxxx db table1 table2 > xx.sql -d 导出结构不导出数据 -t 导出数据不导出结构 导出数据和表结构--该片段来自于http://www.codesnippet.cn/detail/1108201513393.html
来源: http://www.codesnippet.cn/detail/1108201513393.html