You can create a MySQL database in XAMPP using the phpMyAdmin tool. Here are the steps to create a MySQL database in XAMPP:
Start XAMPP and make sure that the Apache and MySQL modules are running.
Open a web browser and go to http://localhost/phpmyadmin/ to access the phpMyAdmin tool.
Click on the "Databases" tab at the top of the page.
Enter a name for your new database in the "Create database" field, and select the collation from the dropdown list.
Click on the "Create" button to create the new database.
Your new database will now appear in the list of databases on the left side of the page.
Congratulations! You have now created a new MySQL database in XAMPP using phpMyAdmin. You can now create tables and add data to your database by selecting your database and using the options available in phpMyAdmin.