2011/10/26 Bill Baker <bill...@billbak.com>

> This might be RTFM, but I am unclear on the APIs to perform three
> semantics.
>
> I've been creating embedded databases with something like:
>
> GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "var/graphDb" );
>
> How do I instead access an existing database?  Doing the above gives me an
> error if the database already exists.  Related, how would I know if a
> database already exists (other than trapping the exception or looking in the
> file system?)
>
I think the error you get is that it's in use by another process, not that
it already exists.

The most common way would via the RESTful API, see
http://components.neo4j.org/neo4j-server/milestone/rest.html but you can
also reach it via the neo4j-shell.

>
> And do I delete simply by using the OS (from command line or code) to
> delete the directory structure?
>

Sure, to delete the whole database you can delete that folder.

>
> Thanks as always.
>
> -----Original Message-----
> From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]
> On Behalf Of Mattias Persson
> Sent: Wednesday, October 26, 2011 8:15 AM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Db connections as we do in mysql ,oracle etc..
>
> Have you tried the data visualizer in webadmin (http://localhost:7474)?
> There you can browse the graph visually.
>
> 2011/10/26 noppanit <noppani...@gmail.com>
>
> > I think you cannot have multiple connections to neo right now, but you
> > can use read-only mode in neoeclipse to see the graph while you're
> > using write mode in your application in the same time.
> > Sent from my BlackBerry® wireless device
> >
> > -----Original Message-----
> > From: "Emil Dombagolla [via Neo4j Community Discussions]" <
> > ml-node+s438527n345422...@n3.nabble.com>
> > Date: Wed, 26 Oct 2011 04:34:29
> > To: noppanit<noppani...@gmail.com>
> > Subject: [Neo4j] Db connections as we do in mysql ,oracle etc..
> >
> >
> >
> > Hi All.
> >
> > We are doing application with Neo4j for the fist time.
> >
> > Can we connect to the database server with having multiple connections
> > same time. Do we have connection strings as we have in mysql,orcale etc..
> >
> > I want to see the graph changes using neoclipse while  we do our
> > developements.
> >
> > Is this possible , can you give me sample connection string and how to
> > access with spring.
> >
> > Please help me on this.
> >
> > Thanks
> > Emil Dombagolla,
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> >
> > _______________________________________________
> > If you reply to this email, your message will be added to the
> > discussion
> > below:
> >
> > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Db-conne
> > ctions-as-we-do-in-mysql-oracle-etc-tp3454224p3454224.html
> > To start a new topic under Neo4j Community Discussions, email
> > ml-node+s438527n438527...@n3.nabble.com
> > To unsubscribe from Neo4j Community Discussions, visit
> > http://neo4j-community-discussions.438527.n3.nabble.com/template/NamlS
> > ervlet.jtp?macro=unsubscribe_by_code&node=438527&code=bm9wcGFuaXQuY0Bn
> > bWFpbC5jb218NDM4NTI3fDExOTIzNzAyNjk=
> >
> >
> > --
> > View this message in context:
> > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Db-conne
> > ctions-as-we-do-in-mysql-oracle-etc-tp3454224p3454251.html
> > Sent from the Neo4j Community Discussions mailing list archive at
> > Nabble.com.
> > _______________________________________________
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology
> www.neotechnology.com _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to