non-techie here having a problem

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

non-techie here having a problem

Postby TorroesPrime » 27. December 2012 02:06

Okay, so I want to build WordPress themes. To help with this I want to run a local installation of WordPress. So I loaded Xampp. Got MySQL and Apache up and running. Went to localhost to make sure everything is working alright, it seemed to be. Then I went to PHPMyAdmin to configure a database for WordPress to use. And I get a message that says "Access denied for user 'root'@'localhost'."

So apparently I set up a database previously on my computer and have forgotten about it, not to mention the login info for it. How can I go about removing the old databse, or at least having Xampp not try to use that particular database?
TorroesPrime
 
Posts: 1
Joined: 27. December 2012 01:59
Operating System: Windows 7

Re: non-techie here having a problem

Postby Altrea » 30. December 2012 18:02

Hi TorroesPrime,

TorroesPrime wrote:So apparently I set up a database previously on my computer and have forgotten about it, not to mention the login info for it.

It is not a database, it is the user credential itself. You have created a password for the user root (maybe with the help of the XAMPP security page) and phpmyadmin needs to know that new password.

So if you remember that password, you can change the \xampp\phpmyadmin\config.inc.php file to either change the auth_type setting to the value cookie and login yourself (recommend), or type in your password as value for the password setting (not recommend).

If you don't have a clue what the password was about you can just reset your password with the tool \xampp\mysql\resetroot.bat (mysql needs to be shutdown for this).

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: 11926
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 140 guests