Re: Change password the new hash
Hey guys,
This just bit me after restoring a dump from an older MySQL version onto 5.6. The problem is with the User.plugin field indicating the account is using the old-style password hash.
Here are the steps I used to resolve it.
1. Log in as root (mysql -uroot)
2. Run the following statements:
UPDATE mysql.user SET Password = PASSWORD('cheese') WHERE User = 'test' AND Host = 'localhost';
UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'test' AND Host = 'localhost';
flush privileges;
Subject
Written By
Posted
February 10, 2015 02:51AM
February 10, 2015 06:40AM
February 10, 2015 06:51AM
February 10, 2015 10:52AM
February 11, 2015 02:45AM
February 11, 2015 03:11AM
February 11, 2015 05:31AM
Re: Change password the new hash
March 13, 2015 10:49AM
February 11, 2015 03:30PM
February 12, 2015 02:24AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.