MySQL Forums
Forum List  »  Install & Repo

Re: Finding root password on new 5.7 install
Posted by: CHARLES WANGERSKY
Date: May 05, 2020 12:02AM

Unfortunately with the way mysqld_safe runs, that fails.

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

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.