$cfg['Servers'][$i]['port'] = '3307';
Add this line to the file xampp\phpMyAdmin\config.inc: $cfg['Servers'][$i]['port'] = '3307'; Here, my port is 3307, you can change it to yours.