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
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
Share this: