Taking the backup of the database is necessary whether it small or large project. You can easily revert the database if something went wrong.
Using phpMyAdmin you can easily export your MySQL database.
You can also Command Line to export selected MySQL database.
In this tutorial, I am using XAMPP in windows.