- Goto "phpmyadmin" folder, find and open "config.inc.php" file
- Find the line: $cfg [‘Servers’] [$a] [‘auth_type’] = ‘config’; in “config.inc.php” file.
- Change the word $cfg [‘Servers’] [$a] [‘auth_type’] = ‘config’; to $cfg [‘Servers’] [$a] [‘auth_type’] = ‘cookie’; in “config.inc.php” file and Save the changes.
- Now open browser and type “localhost/phpmyadmin”. Enter username is “root“. password is null means empty. you don’t type anything leave blank and press GO button.
- Now you can see “change password” link. please click that link.
- Set your phpMyAdmin password and retype again and press GO button.
- posted by: Lâm Ngọc Khương
- site: https://ngockhuong.com
- email: [email protected]
The steps described are not needed, just set the password in xampp/phpMyAdmin/config.inc.php file, like:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'your-password';