It turns out that my database is created in the correct place. server.database.path points to my databases folder. The problem was my database folder was labeled OSystem. When I renamed the folder to myDb, I could select it from the drop down. For some reason, OrientDb ignores folders named OSystem for database names. I expected an OSystem.java file in the code base but there isn't one. Why does OrientStudio ignore the OSystem directory in my server.database.path?
Erik On 4 November 2016 at 17:35, Oleksandr Gubchenko <[email protected]> wrote: > By default OrientDB server manages the database under the directory > "$ORIENTDB_HOME/databases" where $ORIENTDB_HOME is the OrientDB > installation directory. By setting the configuration parameter > "server.database.path" in server orientdb-server-config.xml you can specify > a custom path. Example: > > <orient-server> > ... > <properties> > <entry value="C:/temp/databases" name="server.database.path" /> > </properties> > </orient-server> > > > Il giorno venerdì 4 novembre 2016 21:04:20 UTC+1, Erik T ha scritto: >> >> Hello, >> >> I'm using OrientDB 2.2.6 on Windows 7. I have set up an embedded OrientDB >> instance using a plocal connection. I'm unable to view my database as an >> option in Studio. It appears Studio doesn't 'see' my database. I tried >> specifying the location manually using 'New DB' but failed to create the >> instance since an instance with that name already exists. I tried closing >> the plocal connection to see if my DB would show in the drop down but its >> still not there. I must have the wrong folder structure in my application. >> I'm not entirely sure how to set up that structure though. How should it be >> set up? >> >> I attached a pic to show what I have so far. orientDbTestHttp is my >> application and orientSystemDb is where I want to store my database. There >> is a set of database files there and two folders >> 1) databases >> 2) plugins >> >> plugins contains studio-2.2.zip and databases contains another set of >> database files. I placed the plugins directory in this location but I'm not >> sure if this is correct. >> >> Can some one tell me how I should set up my folder structure in my >> orientDbTestHttp application so I can access my orientSystemDb using the >> OrientDB studio? >> >> -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "OrientDB" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/orient-database/7B0L7k4Zbi8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- 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.
