【问题标题】:MySQL error 0: Retrieval of the RSA public key is not enabled for insecure connectionsMySQL 错误 0:未为不安全的连接启用 RSA 公钥的检索
【发布时间】: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 with mysql_native_password 插件通过 IDENTIFIED WITH

标签: mysql windows-installer mysql-workbench mysql-python


【解决方案1】:

在将一些新数据导入我的数据库后,我遇到了同样的问题。

删除然后重新创建我的 MySql 用户对我有用。

【讨论】:

    猜你喜欢
    • 2018-10-27
    • 2019-12-16
    • 2010-11-14
    • 1970-01-01
    • 1970-01-01
    • 2013-10-17
    • 1970-01-01
    • 2017-02-06
    • 2015-10-19
    相关资源
    最近更新 更多