Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通常我们以这种方式转储数据:
我需要的是我只想转储数据直到昨天!
mysqldump -u root -p 网关 > 转储文件名.sql
您可以将 -e 参数与应执行的查询一起传递:
mysqldump -u root -p troy22022012 -e "SELECT * FROM gateway WHERE ..." > dumpfilename.sql