mysql临时密码不能用_无法访问MySQL后自动生成临时密码

我已经清除并安装了OSX 10.11 El Capitan,我一直通过

this tutorial来使MySQL在新的操作系统X上运行。第一步是下载

MySQL For Mac OS X 10.9 (x86, 64-bit), DMG Archive(工作在10.11,他们在教程中推荐)。当我完成安装MySQL,我得到的消息说:

2015-10-25T02:10:54.549219Z 1 [Note] A temporary password is generated for root@localhost: R>gFySuiu23U

If you lose this password, please consult the section How to Reset the Root Password in the MySQL reference manual.

这是奇怪的,我从来没有见过这样的消息。之后,我通过首选窗格启动MySQL,然后在终端上使用/usr/local/mysql / bin / mysql -v命令执行另一步。我收到一条错误消息说:

错误1045(28000):拒绝访问用户’cheetah’@’localhost'(使用密码:NO)

我也试图通过Sequel Pro使用root作为用户名和空白密码访问数据库,我有访问拒绝消息说:

Unable to connect to host 127.0.0.1 because access was denied.

Double-check your username and password and ensure that access from your current location is permitted.

MySQL said: Access denied for user 'root'@'localhost' (using password: NO)

好吧,我也试过这个再次使用root作为用户名,但’R> gFySuiu23U’作为密码(这是从MySQL生成的)。我有连接失败消息说:

Unable to connect to host 127.0.0.1, or the request timed out.

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).

MySQL said: Your password has expired. To log in you must change it using a client that supports expired passwords.

我如何解决这个问题?我记得MySQL从来没有自动生成这样的临时密码,没有吗?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值