I use WAMP so the file locations may be different. On WAMP, within the WAMP folder there is the apps folder. Inside the apps folder there is the phpmyadmin folder. Inside the phpmyadmin folder there is a file called config.inc.php in that file is where the host, username and password that phpmyadmin uses to connect to MySQL are kept.
wamp -> apps -> phpmyadmin (