Go to the phpMyAdmin folder (in my case it is C: \ wamp \ apps \ phpmyadmin3.2.0.1). In the config.inc.php file, change the line
$cfg['Servers'][$i]['auth_type'] = 'config'
to
$cfg['Servers'][$i]['auth_type'] = 'cookie'
Now you will be given a password the first time you visit the phpMyAdmin page
Dmitro
source share