【发布时间】:2019-01-01 17:26:07
【问题描述】:
我需要在我的电脑上设置 MySQL 数据库。我从here 下载了 Windows(x86,32 位)MSI 安装程序。
我运行安装程序。在最后阶段,安装程序到达Apply configuration 阶段。
但它停在Starting Server。日志说:
MySQL error 0: Retrieval of the RSA public key is not enabled for insecure connections. Failed to connect to MySQL Server 8.0.11 after 10 attempts. Ended configuration step: Starting Server
我已经输入了一个 root 并添加了一个用户并为他们创建了一个密码。密码有黄色警告,表示它们不强,但也不弱。向导接受了他们,所以我继续。
您能帮我找出问题的根源以及如何解决吗?
编辑: 我使用的是 Windows 10。服务器是我的本地主机。
【问题讨论】:
-
不确定这种特殊情况,但我们遇到了与 .NET 连接器相同的错误消息。它归结为我们使用的 MySQL 用户 - 我们更改了默认身份验证插件(my.ini 中的
default_authentication_plugin=mysql_native_password),然后,重要的是,重新创建了用户帐户。或者,如果您想避免更改默认值,用户帐户可以是 specifically created withmysql_native_password插件通过IDENTIFIED WITH。
标签: mysql windows-installer mysql-workbench mysql-python