Full error message:
Error
MySQL said: Documentation
Cannot connect: invalid settings.
Connection for controluser as defined in your configuration failed.
phpM
I found the answer in StackOverflow. In "config.inc.php" file, I changed 'config' to 'cookie'. Here is the answer quoted from StackOverflow:
Step 1:
Locate phpMyAdmin installation path.
Step 2:
Open phpMyAdmin>config.inc.php in your favourite text editor.
Step 3:
Search for
$cfg['Servers'][$i]['auth_type'] = 'config';
Replace it with
$cfg['Servers'][$i]['auth_type'] = 'cookie';
I found my own answer. Steps that I followed to solve this error in XAMPP are:
"C:\xampp\phpMyAdmin"
"config.inc.php"
/* Authentication type and info */ $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['AllowNoPassword'] = true; $cfg['Lang'] = '';
Provide your password here at the line:
$cfg['Servers'][$i]['password'] = 'myPassword';
Restart the XAMPP services.
Your Problem will be solved