[root@waptx126 bin]# /usr/local/mysql/bin/mysqldump --defaults-file=/data/txdata/test/my.cnf txtest pet > /tmp/chen/pet.txt
备份txtest数据库的pet表到 /tmp/chen/pet.txt 。。。
[root@waptx126 chen]# ls
pet.txt
[root@waptx126 txdata]# /usr/local/mysql/bin/mysqldump --defaults-file=/data/txdata/test/my.cnf txtest -d >del_test.sql
仅备份数据库的表结构
阅读(377) | 评论(0) | 转发(0) |