1

I'm running version 3.3.9, and I'm having trouble with trying to restore my admin password, as well as reset the root password. I get the following popup when logging onto localhost/xampp/phpMyAdmin through the address bar: PHPmyadmin login

What should I do in order to reset my password of the root?

N.B. I've already tried setting the password via the config.inc folder, and nothing changed.

Francisco
  • 10,005
  • 5
  • 34
  • 42
Rxanadu
  • 79
  • 2
  • 8
  • try with this solution https://stackoverflow.com/questions/4124447/reset-root-password-with-wrong-mysql-config and remember after changing the password to revert the change in my.ini – mvaldes May 02 '12 at 01:46

2 Answers2

1

(Although the question is off-topic, for SO...)

Try this from your command line :

mysqladmin -u root -p 'oldpassword' password newpass
Dr.Kameleon
  • 22,145
  • 19
  • 110
  • 215
0
mysqladmin -u root -p 'oldpassword' password newpass

I think this code should work implement it through the script tags of your index.php file so the xammp database will recognise the code!

D. Schreier
  • 1,563
  • 1
  • 21
  • 32