phpMyAdmin config password

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

phpMyAdmin config password

Post by shiznatix »

Ok I feel silly but I can not figure this one out. I want to force phpmyadmin to require a username and password to get into it. I only want to use the 'config' authentication because its simple and I can change it automatically with a script. The problem is that I don't know where the username and password for this are stored in the phpmyadmin files.

If someone could help me locate that information that would be awesome.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

In order to force a username password authentication, you need to edit the config.php file and change the auth type from config to cookie.
Post Reply