日期:2014-05-16 浏览次数:20707 次
./mysqldump --opt -h 192.168.1.123 -u root -p dbname table1 > /Users/1.sql
./mysqldump --opt -h 192.168.1.123 -u root -p dbname> /Users/1.sql
./mysqldump --opt -d -h 192.168.1.123 -u root -p dbname table1 > /Users/1.sql
./mysqldump --opt -d -h 192.168.1.123 -u root -p dbname> /Users/1.sql
./mysqldump --opt -h 192.168.1.123 -u root -p dbname table1 --where="字段1='' and 字段2='' and 字段3='' order by 字段4 desc limit 0,30"> /Users/1.sql
./mysqldump --opt -d -h 192.168.1.123 -u root -p dbname table1 --where="字段1='' and 字段2='' and 字段3='' order by 字段4 desc limit 0,30"> /Users/1.sql