如何从macOS上的MySQL Workbench获取忘记的MySQL密码? [英] How do I get my forgotten MySQL password from MySQL Workbench on macOS?

查看:633
本文介绍了如何从macOS上的MySQL Workbench获取忘记的MySQL密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我忘记了我的root mysql密码.但是,它存储在MysqlWorkbench中.

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

有什么办法找回它吗?谢谢.

Is there any way to get it back? Thank you.

推荐答案

在macOS上,关键字存储在钥匙串中.因此,您可以打开钥匙串"应用程序,转到密码"部分,然后在搜索框中输入mysql.条目列表应带有您在MySQL Workbench中创建的MySQL连接的值.从所需的条目中获取密码(您必须输入登录密码才能看到它).

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).

这篇关于如何从macOS上的MySQL Workbench获取忘记的MySQL密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆