If my sql running But Port Not Showing in Xampp then Click Config > my. ini edit this file and change port no 3306 > 3307 and save and Restart xampp ......... One of many reasons is xampp cannot start MySQL service by itself. Everything you need to do is run mySQL service manually.