php_guy Posted January 15, 2008 Share Posted January 15, 2008 Hi guys, I've downloaded and installed xampp 1.6.3, howwever when i click on the phpmyadmin link under the tools section of the xampp home page (or if i just go to localhost/phpmyadmin -- either way same page) i get the following error Access denied for user 'root'@'localhost' (using password: NO) Why does this happen? It looks like phpmyadmin is trying to access the mysql database with incorrect authentication. Why is it doing that? I didn't change anything this is a fresh install of xampp. What do i need to do to make this work? Thanks for any insight! Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/ Share on other sites More sharing options...
Steven8294 Posted January 15, 2008 Share Posted January 15, 2008 Log out, Change password to the same as it was then clear all private data saved passwords cookies ect this always helps me. Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/#findComment-440285 Share on other sites More sharing options...
trq Posted January 15, 2008 Share Posted January 15, 2008 Have you configured phpmyadmin to use your username and password? Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/#findComment-440291 Share on other sites More sharing options...
php_guy Posted January 15, 2008 Author Share Posted January 15, 2008 Thanks for the replies guys, Steve: I didn't change the password, so I'm not sure how to 'change it back'....or even what I should change it too. I'm not apt with mysql, rather my only experience with it comes from installing xampp -- which as I can recall worked just fine for me a few years ago when I installed it and had to use it (this was on a different box) Thorpe: Hmmm.... What extra kind of configuration do I need? From what i can find around the net, I need to edit the config.inc.php file, however I don't ever remember having to do this in the past. I'm not even sure what to set the name/password values too (as I recall, doesn't phpmyadmin provide a login screen??) Again, thanks for the replies and any insight into this. It's driving me insane! ??? Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/#findComment-440320 Share on other sites More sharing options...
Steven8294 Posted April 24, 2008 Share Posted April 24, 2008 Just clear all your cookies history ect. Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/#findComment-526396 Share on other sites More sharing options...
freakus_maximus Posted April 24, 2008 Share Posted April 24, 2008 On the XAMPP home page, try going to the Security page. That will generally come back and tell you if certain things like phpmyadmin are not secured and give you the ability to set an administrative user id and password. Once set you should be prompted for a userid and password when you go the phpmyadmin home page. Quote Link to comment https://forums.phpfreaks.com/topic/86207-xampp-and-phpmyadmin/#findComment-526422 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.