I'm trying to protect phpMyAdmin in XAMPP running on Windows, but it won't work . I should doing something wrong, but i don't no what...
For example I want it to protect whit the username: Administrator and the password: pass.
This is a part of my config.inc.php:
$cfg['Servers'][$i]['controluser'] = 'Administrator'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = 'pass'; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)
$cfg['Servers'][$i]['user'] = 'Administrator'; // MySQL user
$cfg['Servers'][$i]['password'] = 'pass'; // MySQL password (only needed
// with 'config' auth_type)
This is a part of my.ini (MySQL config file):
user=Administrator
password=pass
But what is here wrong:?:, I'm getting this error message when I'm trying to login:
#1045 - Access denied for user 'Administrator'@'localhost' (using password: YES)
So I hope someone of you can help me .
PS: Don't watch my English, because I'm Dutch