How do I get my forgotten MySQL password from MySQL Workbench on macOS?
Asked Answered
P

1

4

I have forgotten my root mysql password. However, it is stored in MysqlWorkbench.

enter image description here Is there any way to get it back? Thank you.

Protist answered 12/10, 2017 at 23:19 Comment(2)
Does this work? macworld.com/article/2854475/…Mccormack
There are many ways to change this password, specially since the server is localhost. You can actually reset it without even knowing the previous one. Recovering it however will be complicated...Surbeck
S
18

On macOS keywords are stored in the keychain. Hence you can open up the Keychain app, go to the Password section and enter mysql in the search box. A list of entries should come up with values of your MySQL connections you created in MySQL Workbench. Get the password from the entry you need (you have to enter your login password to see it).

Submissive answered 13/10, 2017 at 7:22 Comment(2)
On macOS Sierra 10.12.6, the name of the app is "Keychain Access"Protist
Great. You have saved my day!Bordy

© 2022 - 2024 — McMap. All rights reserved.