- Log into your shell
- Use mysqldump to dump the table
- (if required) transfer the file to some other machine where you want it.
Using PHP, or phpmyadmin to download an entire table is guaranteed to fail, because they will hit a limit or timeout. In MySQL, tables can be very large (Our application uses ones as big as 4 Gb).
mysqldump is shipped with mysql and does the job correctly. They've tested it. Use it.
Mark