Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: java.lang.IllegalArgumentException: Storage type 'plocal' is different by storage type in URL #7923

Closed
xiaoqiangyi opened this issue Dec 12, 2017 · 2 comments
Assignees
Milestone

Comments

@xiaoqiangyi
Copy link

OrientDB Version: orientdb-community-importers-2.2.30

Java Version: java version "1.8.0_112"

OS: win 10

Expected behavior

a new db should be created.

Actual behavior

en error is reported.

Steps to reproduce

  1. run OrientDB server on the local PC: bin/server.bat
  2. run console: bin/console.bat
  3. connect to remote server: orientdb> CONNECT remote:localhost root root
  4. create a new database and then comes the error:
    orientdb {server=remote:localhost/}> CREATE DATABASE REMOTE:localhost/myremotetestdb root root PLOCAL
    Creating database [REMOTE:localhost/myremotetestdb] using the storage type [plocal]...
    Error: java.lang.IllegalArgumentException: Storage type 'plocal' is different by storage type in URL orientdb {server=remote:localhost/}>
@luigidellaquila
Copy link
Member

Hi @xiaoqiangyi

It seems to be a matter of case, try with

CREATE DATABASE remote:localhost/myremotetestdb root root plocal

(with both "remote" and "plocal" in lowercase), it should work fine

Thanks

Luigi

@luigidellaquila
Copy link
Member

Hi @xiaoqiangyi

I just pushed a fix to also support REMOTE in uppercase. The fix will be released with 2.2.32

Thanks

Luigi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants