Hi everyone i had mysql server running on 3306. I uninstalled that completely and installed XAMPP. Mysql was not running at the beginning, then I changed the port to 3307 in
Try this.
Go to the directory where Xampp is installed. Lets call it xampp. Now open the file xampp/phpMyAdmin/config.inc.php in any text editor.
Now find this line
$cfg['Servers'][$i]['host'] = 'localhost';
and change it to
$cfg['Servers'][$i]['host'] = 'localhost:3307';
Note: If you are on Windows, xampp is by default installed in C:\xampp