In this video, I will explain you how to export your database from localhost(xampp). Following are the steps you have to follow to export database from localhost(xampp).
1- Open your browser and write localhost/phpmyadmin
2- Select the database from xampp you want to export.
3- Click on Export option and then click Go.
4- You will get your .sql file