sách gpt4 ai đã đi

mariadb - 如何在 Windows 上的 MariaDB 中重置密码?

In lại 作者:行者123 更新时间:2023-12-05 08:34:34 31 4
mua khóa gpt4 Nike

如何在 MariaDB 中重置密码?我使用 Windows 而不是 Linux。谁知道如何重置我的 MySQL MariaDB 密码?我尝试在 Google 上搜索但没有帮助。

1 Câu trả lời

我遇到了同样的问题。我丢失了 Windows 开发机器上测试服务器的 root 密码。按照 Linux 步骤:

之后

net stop mysql 

尝试使用

调用 mysqld
mysqld --skip-grant-tables

mysqld 只会以一条短消息退出

[Note] mysqld.exe <...5.5.48.MariaDB> starting as process  ...

然后它就退出了。但是我尝试直接启动 mysqld,没有 mysqld.exe 进程。服务启动命令可能有一些参数组合,使 mysqld 能够运行。尝试通过配置文件传递设置并且它有效。

skip-grant-tables=TRUE

进入 MariaDB 5.5\data\my.ini重启mysqld,按

网络停止mysql && 网络启动mysql

然后能够以 root 身份登录。

不要忘记删除插入的行并重新启动 mysqld。

关于mariadb - 如何在 Windows 上的 MariaDB 中重置密码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23288744/

31 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com