question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User or password not valid for database with Admin role

See original GitHub issue

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:

  1. Create database and user bc24 with admin, read, write rights
  2. Shutdown database with ./orientdb.sh stop
  3. 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

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
Shubham-gupta26commented, Jul 14, 2017

Solved the issue. enter username and password as “admin” and “admin”

3reactions
larryaasencommented, Sep 11, 2016

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mongodb getting error while creating new user - Stack Overflow
Go with following commands in Mongo Shell: use admin db.createUser({ user: ...
Read more >
The SQL user account password is not valid
Log in to the SQL Server with your Windows account. Confirm that the user account and password is correct and have no issues...
Read more >
Trying to add a new SQL Server user throws the error "is not a ...
Trying to add a new SQL Server user throws the error "is not a valid login or you do not have permission” ......
Read more >
Error message when you connect to an instance of SQL Server
To work around this behavior, specify a valid, available database in the connection string. To prevent the error when the user's default database...
Read more >
SQL Server Service Account login or password is not valid error
You can change the service accounts after the installation. · @Kin That could be the reason. · Local Admin group should have all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found