cannot login to xampp

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

cannot login to xampp

Postby fhbc2003 » 11. February 2014 23:33

Hi,
I moved to Windows 8.1 on a new computer and installed XAMPP (control panel v.3.2.1). Apache and mysql are running properly (php executes database queries); Apache is using port 8080.
I tried to login to phpMyAdmin to update a database, and was unable. So I tried to go to the XAMPP security page to check settings, and found I was unable to access any of the provided pages. If I type http://localhost:8080/ or the specific address of the security page, I get a dialog box that asks for user name and password.

I have entered the username [root] and password listed in /security/xamppdirpasswd.txt (as well as many other combinations) without success.
The Apache error log says: AH01618: user root not found: /xampp/

Apparently, I did something to corrupt my credentials; how can I add a user "root", or do a total reset of XAMPP's security?
fhbc2003
 
Posts: 3
Joined: 27. December 2013 23:05
Operating System: Windows 8.1

Re: cannot login to xampp

Postby Altrea » 11. February 2014 23:54

Hi fhbc2003,

fhbc2003 wrote:Apache is using port 8080.

... if you are happy with that ...
fhbc2003 wrote:I tried to login to phpMyAdmin to update a database, and was unable. So I tried to go to the XAMPP security page to check settings, and found I was unable to access any of the provided pages. If I type http://localhost:8080/ or the specific address of the security page, I get a dialog box that asks for user name and password.

phpmyadmin and the xampp folder have different credentials.

fhbc2003 wrote:I have entered the username [root] and password listed in /security/xamppdirpasswd.txt (as well as many other combinations) without success.
The Apache error log says: AH01618: user root not found: /xampp/

Then your folder protection user is not named root.

fhbc2003 wrote:Apparently, I did something to corrupt my credentials;

Executing the xamppsecurity script corrupts many many xampp installations. Don't do that. It suggest you an amount of security it can not provide.

fhbc2003 wrote:how can I add a user "root", or do a total reset of XAMPP's security?

You could add a new user to your htpasswd file with help of the command line tool htpasswd.
Or delete all .htaccess and .htpasswd files the securitytool has created to disable the folder protection.

But all of this will not help you to login to 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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: cannot login to xampp

Postby fhbc2003 » 12. February 2014 02:36

Hi Altrea,
Problems solved: deleting the .htaccess files allowed me to get access to the XAMPP files again. Then I was able to figure out the right credentials for phpmyadmin.

Thanks for your quick(!) help.
fhbc2003
 
Posts: 3
Joined: 27. December 2013 23:05
Operating System: Windows 8.1

Re: cannot login to xampp

Postby Altrea » 12. February 2014 06:07

You are welcome 8)
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 128 guests