MySQL Forums
Forum List  »  Newbie

Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost'
Posted by: Sakai Noriko
Date: September 25, 2016 10:16PM

Hi,
Sorry I have wrote the MySQL version wrong, the version really is 5.7.1.

As mentioned, I can only login by running the 'mysqld_safe -user=root --skip-grant-table'.
Now then when I tried the 'Alter User' from the reference you gave, I keep getting following error:

mysql> ALTER USER 'root'@'localhost'
-> IDENTIFIED BY 'junk1234';
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

What should I do to fix this issue?

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR 1045 (28000): Access denied for user 'root'@'localhost'
September 25, 2016 10:16PM


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.