Page 1 of 1

Trying to protect phpMyAdmin

PostPosted: 18. January 2006 19:56
by snake86
Hey everybody,

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 :roll: .

PS: Don't watch my English, because I'm Dutch :lol:

PostPosted: 18. January 2006 21:44
by ntsmarkv
http://localhost/security/index.php

enter your pass if popped up

click Security link top left, enter the info in there, it automatically changes what you need in phpmyadmin.

PostPosted: 18. January 2006 22:03
by snake86
ntsmarkv wrote:http://localhost/security/index.php

enter your pass if popped up

click Security link top left, enter the info in there, it automatically changes what you need in phpmyadmin.
Doesn't work, I'll stil get the same error message :( ...