0

I am new to MySQL. Today is my first day using it through XAMPP. I have managed to change my password using the code

mysqladmin -u root password

Suddenly I was denied access from XAMPP and from the MySQL Admin portal. I tried to reset the password immediately in the same window using the same command but I was given the error

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I saw a number of related questions here on stackoverflow but they were all about phpMyAdmin password issues.

I would like to rest it to the default password and gain access to MySQL & XAMPP again. I have been going around in circles for an hour. Any help would be appreciated.

1
  • By default xampp has no password. Now that you changed the password, you need to configure that in places where you need it.
    – gview
    May 13 at 23:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.