gpt4 book ai didi

linux - 在 Amazon Linux 上新安装 OrientDB 2.1.9 时出现问题

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:11:38 25 4
gpt4 key购买 nike

我正在 Amazon Linux 上安装 OrientDB 2.1.9 我正在尝试登录到他们的标准 Grateful Dead 数据库。我不能使用 guest ,root 有效,但这不是最佳的。

我使用了默认的 guest / guest ,就在包中。

$ORIENTDB_HOME/config/orientdb-server-config.xml 文件中的服务器凭证:

最佳答案

guest 用户仅在连接到服务器实例和列出数据库时有效,要连接到数据库,您必须使用数据库用户或 root

orientdb> connect remote:localhost guest guest

Connecting to remote Server instance [remote:localhost] with user 'guest'...OK


orientdb {server=remote:localhost/}> connect remote:localhost/GratefulDeadConcerts guest guest

Disconnecting from remote server [remote:localhost/]...
OK
Connecting to database [remote:localhost/GratefulDeadConcerts] with user 'guest'...
Error: com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'GratefulDeadConcerts'

如果您想以有限的权限连接到数据库,您可以使用内置用户readerwriter,或者您可以从数据库内部创建自定义用户。

也请引用本指南http://orientdb.com/docs/2.1/Security.html

关于linux - 在 Amazon Linux 上新安装 OrientDB 2.1.9 时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35925496/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com