MySQL Forums
Forum List  »  Install & Repo

Problem with resetting forgotten root password
Posted by: Michael Roland
Date: October 06, 2017 01:15PM

I have tried for hours to reset a forgotten root password to my newly installed mySQL on my mac.

Different things I've tried:
./mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I get prompted for a password:
sudo mysql_safe --skip-grant-tables
Password:

I'm sorry, I'm new to mySQL so i don't know exactly what to ask. I've tried every video and instruction for hours to no avail. Please help :)

Options: ReplyQuote


Subject
Written By
Posted
Problem with resetting forgotten root password
October 06, 2017 01:15PM


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.