There is huge problem faced when we run xampp with teamviewer or skype. The easiest way to run xampp, teamviewer and skype is that you can quit skype first. To quit skpe right click on skype icon on tasbar and click on quit skype as shown in figure below.
Then close your teamviewer also if it is running. Now run your xampp and start phpmyadmin and mysql. It will work fine.
Now you can also start your skype and teamviewer it will also run while xampp already running. Wow problem solved. 🙂