在MarkLogic中忘记了我的管理员用户名和密码

编程入门 行业动态 更新时间:2024-10-28 14:35:54
本文介绍了在MarkLogic中忘记了我的管理员用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在MarkLogic 5中忘记了管理员的用户名和密码.我试图卸载MarkLogic 5软件并重新安装.但是每次启动服务器后登录端口8001时,每次要求输入用户名和密码.

I have forgotten my username and password of admin in MarkLogic 5. I tried to uninstall the software MarkLogic 5 and install that again. But every time it is asking for username and password when logging into the port 8001 after starting the server.

您能帮我得到那个吗?

推荐答案

当然,要克服管理员密码是很难的(或不可能的).您提到了卸载MarkLogic.如果您不担心保存数据,可以卸载MarkLogic 并删除数据目录(在Linux上为/var/opt/MarkLogic),然后在重新安装时将提示您输入新的管理员密码.

Getting past the admin password is supposed to be hard (or impossible), of course. You mentioned uninstalling MarkLogic; if you aren't worried about preserving data, you can uninstall MarkLogic and remove the data directory (/var/opt/MarkLogic on Linux), then when you reinstall you'll be prompted to enter a new admin password.

从Jordan Stewart的评论中添加代码以提供更好的格式:

edit: adding code from Jordan Stewart's comment to provide better formatting:

# stop Marklogic using a service sudo service MarkLogic stop # change directories to MarkLogic data dir cd var/opt/MarkLogic/ # remove everything including folder, this is dangerous sudo rm -rf * # start MarkLogic sudo service MarkLogic start

更多推荐

在MarkLogic中忘记了我的管理员用户名和密码

本文发布于:2023-10-17 22:24:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1502249.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户名   管理员   密码   忘记了   MarkLogic

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!