XAMPP Includes PHPMyAdmin for managing the mysql server.
You can go to the privileges tab to manage the privileges that are granted to specific users.
select the root user, and click the edit Icon to edit the root users privileges and grant the insert table privilege.