localhost refused to connect xampp 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';