Hi,

if you want to open the databases that contain special characters in their 
path you have to use the quotes in the piece of path where you used them.

For example (I used your indication):

connect plocal:C:/"database$"/orient/MyDb admin admin

It also works with spaces:

connect plocal:C:/"database $"/orient/MyDb admin admin




Il giorno martedì 22 dicembre 2015 01:43:07 UTC+1, [email protected] ha 
scritto:
>
> Hello,
>
> I am trying to find a way to open plocal database with "non-standard" 
> characters in the database path.
> For example: Database is located in this folder:
>
> Windows: c:\database$\orient\MyDb
> Linux: /opt/database$/orient/MyDb
>
> Another example database path containing space in the name:
>
> Windows: c:\my database\orient\MyDb
> Linux: /opt/my database/orient/MyDb
>
> Is there a way to open such databases with plocal url?
>
> Attempt to open database from the console (2.1.7) gives following error:
>
> orientdb> connect plocal:C:/database$/orient/MyDb admin admin
>
> Connecting to database [plocal:C:/database$/orient/MyDb] with user 
> 'admin'...
> Error: com.orientechnologies.orient.core.exception.OStorageException: 
> Cannot open local storage 'c:/database$/orient/MyDb' with mode=rw
>
> Error: com.orientechnologies.orient.core.exception.OStorageException: 
> Cannot open the storage 'MyDb' because it does not exist in path: 
> c:/database$/orient/MyDb
>
> If Database path contains space, then open command is not recognized at 
> all.
>
> Is there any escape rules for special characters?
>
>
>
>
>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to