The other option is from telnet do a mysqldump piped into a mysql command. for example:
mysqldump -hswql.mydomain.com -uUSER -pPASSWORD db1 | mysql -hsql2.mydomain.com -uUSER -pPASSWORD db2
This also works, as I have recently found, if you are migrating from one host to another if you can access your SQL database remotely.
I40.com - Home Page
MP3Mystic - Personal Streaming Music server.
(Neither of these sites are still hosted at dreamhost)