Added pw to Root, can no longer access

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

Added pw to Root, can no longer access

Postby AlerekNightfall » 22. November 2012 20:34

Hey there~

I've been using xampp / mysql for a server DB, and recently noticed in phpmyadmin the notice that I need to set a password for root....so I did, for both accounts. After setting the password for the second account, I can no longer access phpmyadmin, at all. I can login via the command prompt, but cannot find a way to do so via the webbased admin panel.

How can I get back to my usual localhost/phpmyadmin page?

edit: My idiot self didn't think to try 127.0.0.1/phpmyadmin, all is well again.
AlerekNightfall
 
Posts: 1
Joined: 22. November 2012 20:31
XAMPP Version: 5.6.3
Operating System: Win7

Re: Added pw to Root, can no longer access

Postby Altrea » 22. November 2012 20:38

Hi AlerekNightfall,

you need to tell phpmyadmin, that you don't want to login via config any more:
  • Open \xampp\phpMyAdmin\config.inc.php
  • search for the line $cfg['Servers'][$i]['auth_type'] = 'config';
  • replace the line with $cfg['Servers'][$i]['auth_type'] = 'cookie';
  • save the file
  • clear your browser cache
  • try again to access phpmyadmin

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6490
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: Boba Fett, Nobbie and 62 guests