Go to phpmyadmin panel http://localhost/phpmyadmin
Click on the User Accounts link from top navigation menu
Click on the Edit Privileges link from User Overview Accounts section
Click on the Change Password Link from top sub menu
Generate password and copy the password and click on the Go button to save password
Go to locate phpMyAdmin installation path.
Open phpMyAdmin>config.inc.php in your favourite text editor.
Search for $cfg[‘Servers’][$i][‘auth_type’] = ‘config’;
Replace it with $cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;
Now you have to login to access your phpmyadmin
Note: Password must be used in your database connection to access database from your from your project