xampp localhost refused to connect. code example
Example: access refused mysql xampp server
$cfg['Servers'][$i]['host'] = 'localhost';
and change it to
$cfg['Servers'][$i]['host'] = 'localhost:3307';
$cfg['Servers'][$i]['host'] = 'localhost';
and change it to
$cfg['Servers'][$i]['host'] = 'localhost:3307';