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

标签 linux orientdb

我正在 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/

相关文章:

java - OrientDB 对象 API 中的 Joda DateTime

linux - 在linux命令行上按时间戳对日志文件进行排序

linux - 在虚拟机中交付项目(LINUX)

linux - 如何将文件权限授予组中的特定用户?

arrays - 使用 jq 根据对象中的键值从数组返回整个对象

orientdb - orientjs - 如何执行批量插入

信号量可以用于访问同一库的两个不同应用程序

sql - 新手: OrientDB Basic SQL Query

java - 如何更正 orientdb 中的异常 database.ocf' 被另一个进程锁定?

东方数据库ETL : how to skip a duplicate vertex but create the edge