<p>From nxtforum.org "Move blockchain location" at <a href="http://nxtforum.org/nrs-client-how-to-help/move-blockchain-location/" rel="nofollow">http://nxtforum.org/nrs-client-how-to-help/move-blockchain-location/</a></p>

<blockquote>
  <p>look in /conf/nxt-default.properties.</p>
  
  <p>In the #### DATABASE #### section, you will find by default</p>
  
  <blockquote>
    <p># The nxt_db folder is expected to be in the current working directory, will be created if missing.</p>
    
    <p>nxt.dbUrl=jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE</p>
  </blockquote>
  
  <p>NRS will create the database folder in D:/nxt_db.</p>
  
  <p>You can also leave nxt-default properties with default values, and create a user properties file called "nxt.properties" in the same /conf folder. Any values in nxt.properties will override defaults in nxt-default.properties, so a nxt.properties file defining nxt.dbUrl will work the same as the previous edit.</p>
</blockquote>

<p>Hope this helps.</p>

CC BY-SA 3.0
2014-11-21T02:33:56.427Z
2014-11-21T02:33:56.427Z
user21222
<p>I'm testing out the nxt client and was wondering how do i change the default database download location? Its currently downloading to the current folder (nxt_db).</p>

<blockchain><nxt>
How do I change the default blockchain Database download location for NXT?
Patoshi パトシ
# How do I change the default blockchain Database download location for NXT?

(Asked by: username_0 on 2014-10-18)

I'm testing out the nxt client and was wondering how do i change the default database download location? Its currently downloading to the current folder (nxt\_db).

**Tags:** blockchain, nxt


---

## 1 answers

### Answer by username_1 on 2014-11-21. Score: 3 | Accepted answer

From nxtforum.org "Move blockchain location" at <http://nxtforum.org/nrs-client-how-to-help/move-blockchain-location/>

> look in /conf/nxt-default.properties.
>
> In the #### DATABASE #### section, you will find by default
>
> > # The nxt\_db folder is expected to be in the current working directory, will be created if missing.
> >
> > nxt.dbUrl=jdbc:h2:nxt\_db/nxt;DB\_CLOSE\_ON\_EXIT=FALSE
>
> NRS will create the database folder in D:/nxt\_db.
>
> You can also leave nxt-default properties with default values, and create a user properties file called "nxt.properties" in the same /conf folder. Any values in nxt.properties will override defaults in nxt-default.properties, so a nxt.properties file defining nxt.dbUrl will work the same as the previous edit.

Hope this helps.


---

