Trying to protect phpMyAdmin

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Trying to protect phpMyAdmin

Postby snake86 » 18. January 2006 19:56

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:
User avatar
snake86
 
Posts: 2
Joined: 18. January 2006 19:43

Postby ntsmarkv » 18. January 2006 21:44

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.
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38

Postby snake86 » 18. January 2006 22:03

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 :( ...
User avatar
snake86
 
Posts: 2
Joined: 18. January 2006 19:43


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 70 guests