【问题标题】:Unable to reset Root Password: windows, MySQL8.0无法重置 Root 密码:windows、MySQL8.0
【发布时间】:2019-07-25 17:59:15
【问题描述】:

我忘记了我的根密码,我正在按照official page 重置我的密码。我已按照确切的步骤操作。

当我运行 sql-init.txt 文件时,我的 bash 卡住了,安装永远不会完成。

C:\Windows\system32>cd "C:\Program Files\MySQL\MySQL Server 8.0\bin"

C:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld --defaults-file="C:\\ProgramData\\MySQL\\MySQL Server 8.0\\my.ini" --init-file=C:\\mysql-init.txt --console
2019-03-04T12:06:43.930229Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2019-03-04T12:06:43.932934Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.15) starting as process 2556
2019-03-04T12:06:48.805422Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2019-03-04T12:06:48.996196Z 0 [System] [MY-010931] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: ready for connections. Version: '8.0.15'  socket: ''  port: 3306  MySQL Community Server - GPL.
2019-03-04T12:06:49.078797Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060

请指导。

【问题讨论】:

    标签: mysql windows mysql-8.0


    【解决方案1】:

    命令行卡住了。所以,我不得不强行关闭它(Ctrl+C)。 重新启动我的计算机和 MySQL 服务使其正常工作。
    密码已设置为新密码。

    【讨论】:

      猜你喜欢
      • 2019-07-13
      • 1970-01-01
      • 2016-10-13
      • 1970-01-01
      • 2018-04-13
      • 2012-12-04
      • 2012-05-06
      • 1970-01-01
      • 2012-02-08
      相关资源
      最近更新 更多