title: neo4j: How do I change the database storage location?
body: <p>Hi I created a neo4j database with custom java application and tried to change path in configuration file in order to connect to created database.</p>
  
  <p>While trying to check the data in webadmin console only node 0 is visible (seems that the database is empty). I tried to import the same database to Gephi and it's not empty.</p>
  
  <p>Furthermore when I tried to switch back to the original database, which also wasn't empty, in webadmin only node 0 appeared.</p>
  
  <p>I tried to modify the neo4j-server.propertied file the following way:</p>
  
  <pre><code>#*****************************************************************
  # Administration client configuration
  #*****************************************************************
  
  # location of the servers round-robin database directory. possible values:
  # - absolute path like /var/rrd
  # - path relative to the server working directory like data/rrd
  # - commented out, will default to the database data directory.
  org.neo4j.server.webadmin.rrdb.location=data/rrd
  
  # REST endpoint for the data API
  # Note the / in the end is mandatory
  #org.neo4j.server.webadmin.data.uri=/db/data/ #original database
  org.neo4j.server.webadmin.data.uri="/db/mydatabase" #my database
  
  # REST endpoint of the administration API (used by Webadmin)
  org.neo4j.server.webadmin.management.uri=/db/manage/
  
  # Low-level graph engine tuning file
  org.neo4j.server.db.tuning.properties=conf/neo4j.properties
  </code></pre>
  
  <p>After switching back to the original database (commenting the new path and uncommenting the old)</p>
  
  <pre><code>org.neo4j.server.webadmin.data.uri=/db/data/ #original database
  #org.neo4j.server.webadmin.data.uri="/db/mydatabase" #my database
  </code></pre>
  
  <p>the old one seemed to be empty as well.</p>
  
  <p>Does anyone know how and where to set the path in order to see the appropriate database in the webadmin console and to be able to execute queries on the desired database?</p>
  
  <p>Thank you!</p>