Guest User

Untitled

a guest
Mar 13th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. h2-1.4.196.jar
  2. h2.bat
  3. h2.sh
  4. h2w.bat
  5.  
  6. ./h2.sh -webAllowOthers -web -tcpAllowOthers
  7.  
  8. jdbc:h2:tcp://localhost/~/test;USER=sa1;PASSWORD=welcome
  9.  
  10. Duplicate property "USER" [90066-196] 90066/90066
  11.  
  12. .h2.server.properties
  13.  
  14. 12=Generic H2 (Embedded)|org.h2.Driver|jdbc:h2:~/test|sa
  15. 13=Generic H2 (Server)|org.h2.Driver|jdbc:h2:tcp://localhost/~/test|sa
  16.  
  17. Server options
  18. Supported options are:
  19. [-web] Start the web server with the H2 Console
  20. [-webAllowOthers] Allow other computers to connect - see below
  21. [-tcp] Start the TCP server
  22. [-tcpAllowOthers] Allow other computers to connect - see below
  23. [-tcpPort <port>] The port (default: 9092)
  24. [-tcpPassword <pwd>] The password for shutting down a TCP server
  25. [-properties "<dir>"] Server properties (default: ~, disable: null)
  26. [-baseDir <dir>] The base directory for H2 databases (all servers)
  27.  
  28. java -cp h2-1.4.196.jar org.h2.tools.Server -web -tcp -webAllowOthers -tcpAllowOthers -tcpPassword welcome
  29. TCP server running at tcp://10.157.196.152:9092 (others can connect)
  30.  
  31. ./console.sh -url tcp://localhost:9092 -driver org.h2.Driver -user sa -password welcome
Add Comment
Please, Sign In to add comment