Can’t connect to database using Plocal

26 views
Skip to first unread message

Maxim Nikolaev

unread,
Oct 4, 2017, 8:57:51 AM10/4/17
to OrientDB
1 Step - connect to dataase using remote - Ok
2 Step - try connect to database using plocal, but attempt is failed : can’t access to database with mode ‘“rw”

What correct order using plocal to connect to orient database ?? What blocking database ?
What is config parametr storage.KeepOpen?

Luigi Dell'Aquila

unread,
Oct 4, 2017, 9:01:12 AM10/4/17
to orient-...@googlegroups.com
Hi Maxim,

If you have a running server, you cannot access the db from another process. The server process locks the database to avoid concurrent access to the files, so if you want to connect in plocal you have to stop the server.

Thanks

Luigi



--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Enrico Risa

unread,
Oct 4, 2017, 9:01:30 AM10/4/17
to orient-...@googlegroups.com
Hi Maxim

if you have a running server with that database, you cannot open it in plocal, 
since the server holds the exclusive lock on it. You can do this only if the JVM is the same.For example if you embed OrientDB in your application.

Thanks
Enrico

2017-10-04 14:57 GMT+02:00 Maxim Nikolaev <pyz...@gmail.com>:

Maxim Nikolaev

unread,
Oct 4, 2017, 9:24:52 AM10/4/17
to OrientDB
Thank you!! I’m starting in Java((
Reply all
Reply to author
Forward
0 new messages