Advertisement
Guest User

Untitled

a guest
Jan 9th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. 1. Back up your nxt-default.properties file in the conf folders.
  2.  
  3. 2. Open nxt-default.properties file and make sure to have this setting this in the Database section:
  4.  
  5. #### DATABASE ####
  6.  
  7. # Database connection JDBC url, see the H2 documentation for possible customizations.
  8. # Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
  9. # The nxt_db folder is expected to be in the current working directory, will be created if missing.
  10. nxt.dbUrl=jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=FALSE
  11. nxt.dbUsername= sa
  12. nxt.dbPassword= sa
  13.  
  14. # Database connection JDBC url to use with the test network, if isTestnet=true
  15. #nxt.testDbUrl=jdbc:h2:./burst_test_db/burst;DB_CLOSE_ON_EXIT=FALSE
  16.  
  17. nxt.dbMaximumPoolSize=10
  18.  
  19. # Database connection timeout in seconds.
  20. nxt.dbLoginTimeout=70
  21.  
  22. # Database default lock timeout in seconds.
  23. nxt.dbDefaultLockTimeout=60
  24.  
  25. # Maximum simultaneous database connections.
  26. nxt.maxDbConnections=30
  27.  
  28. # The memory allocated to database cache, in kB.
  29. # If set to 0, defaults to 50 % of the memory available to the JVM.
  30. nxt.dbCacheKB=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement