orientdb: User or password not valid for database with Admin role
Orientdb 2.0.12
Connecting to database [plocal:../databases/bodyclub24_prod] with user 'bc24'...
2015-07-17 19:24:37:761 WARNING {db=bc24_test} segment file 'database.ocf' was not closed correctly last time [OSingleFileSegment]
2015-07-17 19:24:37:820 WARNING {db=bc24_test} Storage bodyclub24_prod was not closed properly. Will try to restore from write ahead log. [OL ocalPaginatedStorage]
2015-07-17 19:24:37:907 WARNING {db=bc24_test} Record com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OCheckpointEndRecord {lsn=OLogSequenceNumber{segment=0, position=352679}} will be skipped during data restore. [OLocalPaginatedStorage]
2015-07-17 19:24:37:908 WARNING {db=bc24_test} Non tx operation was used during data modification we will need index rebuild. [OLocalPaginate dStorage]
2015-07-17 19:24:38:127 SEVERE {db=bc24_test} [OIndexDictionary]
Error: com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'bc24_test'
Steps:
- Create database and user
bc24with admin, read, write rights - Shutdown database with
./orientdb.sh stop - Log into console.sh and try to connect to plocal storage
connect plocal:../databases/bc24_test bc24 XXXXXXXX
Doesn`t occurs in Orientdb 2.0.10
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 2
- Comments: 18 (7 by maintainers)
Solved the issue. enter username and password as “admin” and “admin”
I do not have a recommendation for solving this problem. Instead, I used plocal during the connection and used admin/admin which I did not realize was already setup.