i want to migrate the store with my own database how can i migrate it
Depends on whether or not you want to migrate your existing data.
You can either use a tool like Wildfly, or use the export functionality: Admin > Import / Export > Check all entities you want to export > run script. A download package will be stored in databased that you can then reupload to the new system as either seed data or on a blank copy.
For setting the database, please follow this handy guide https://www.scipioerp.com/community/developer/installation-configuration/configuration/#database-configuration