if you geeting issue in xampp while runing MySQL and got Error: MySQL shutdown unexpectedly than do these steps 1. Goto: C:\xampp\mysql\data 2. After that: Goto: C:\xampp\mysql\bin then open with notepad my.ini , Its look like this. Then delete or put into comment the port 3306 and change it to 8111 then run xamp with administrator and its work well.