Run mysqldump to get a dump from the db at work -
mysqldump -hhost -uuser -ppass --opt db_name > somefile.sql
Then at home you need to create a db to insert the tables + data into -
mysqladmin -hhost -uuser -ppass create db_name
then run the data into the new db -
mysql -hhost -uuser -ppass db_name < somefile.sql
Once you have the db at home and at work you should also add '--add-drop-table' when running the dump -
mysqldump -hhost -uuser -ppass --opt --add-drop-table db_name > somefile.sql
Hope this helps (makes sense) 😉