问题
I have forgotten my root mysql password. However, it is stored in MysqlWorkbench.
Is there any way to get it back? Thank you.
回答1:
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).
来源:https://stackoverflow.com/questions/46720276/how-do-i-get-my-forgotten-mysql-password-from-mysql-workbench-on-macos