is this right?
mysql -uroot -ppassword mydb < myfile.sql.gz
tar -xzf myfile.tar.gz
Check the extracted sql files using: ls
mysql -u root -p password database < myfile.sql