If you are a Windows user. Go to the XAMPP directory → Mysql directory → data →, after which you will see a list of databases inside these folders. Just cut and paste the off-desktop database that you want to delete. If you are using phpmyadmin, refresh the page. If you do not find any errors. you will go well.
source
share