I have a big dump MySQL database (1.3 GB). How I may load dump only one table?
2条回答 默认 最新
- duanjian4150 2011-07-08 11:56关注
If you have access to command-line, best do it that way if you can:
mysql -u #username# -p #database# < #dump_file#
Otherwise use a gui tool like SQLyog (free community edition is available).
Using web-tools will almost definatley prove a huge pain.
To extract a single table, you'll need to manipulate the file, here is a good perl script for it :) http://blog.tsheets.com/2008/tips-tricks/extract-a-single-table-from-a-mysqldump-file.html which I've used successfully in the past.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报