Changing port in my.ini works fine
Go to the directory: C:\xampp\mysql\data and delete the following files:
After that, go to the directory C:\xampp\mysql\bin and open my.ini in a text editor. It will look like this:
comment default #port=3306, add port=81