We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lealone的root用户设置密码忘记后怎么找回root密码
The text was updated successfully, but these errors were encountered:
目前没有重置密码的功能,我看看怎么实现这个功能。
Sorry, something went wrong.
如果是嵌入模式且是安全模式就不需要验证密码,此时可以重置密码 #223
f0d7394
重置密码的功能已经实现,可以下载 lealone 6 的最新代码,然后从源代码构建新的 lealone-6.0.0.jar,参考构建文档
接着停掉正在运行的数据库,打开一个命令行窗口切换到 lealone 安装目录中的 data 目录 然后执行以下命令,用嵌入模式和安全模式打开数据库(会跳过密码验证) java -jar lealone-6.0.0.jar -embed -safeMode
打开数据库成功后,会看到 sql> 提示,执行以下命令修改为新的密码即可: alter user root set password 'your_password ';
No branches or pull requests
lealone的root用户设置密码忘记后怎么找回root密码
The text was updated successfully, but these errors were encountered: