If you get an error while importing database in Xampp, try to use below steps:

1. Make sure name of the database to be imported is same as in Xampp phpmyadmin.

2. Make changes in php.ini as below:

max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000MB
post_max_size = 750MB
upload_max_filesize = 750MB

3. Try to import the database and check now.