If you have a compressed MySQL database in bz2 format that you need to import, just do the following:

bunzip2 < db_filename.sql.bz2 | mysql -u root -p target_db_name

Posted by Jeff Reifman

Jeff is a technology consultant based in the Pacific Northwest. Check out Portland Wild, a visual map-driven guide to Portland's public art, its Heritage Trees and its Little Free Libraries.