Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h2-1.4.196.jar
- h2.bat
- h2.sh
- h2w.bat
- ./h2.sh -webAllowOthers -web -tcpAllowOthers
- jdbc:h2:tcp://localhost/~/test;USER=sa1;PASSWORD=welcome
- Duplicate property "USER" [90066-196] 90066/90066
- .h2.server.properties
- 12=Generic H2 (Embedded)|org.h2.Driver|jdbc:h2:~/test|sa
- 13=Generic H2 (Server)|org.h2.Driver|jdbc:h2:tcp://localhost/~/test|sa
- Server options
- Supported options are:
- [-web] Start the web server with the H2 Console
- [-webAllowOthers] Allow other computers to connect - see below
- [-tcp] Start the TCP server
- [-tcpAllowOthers] Allow other computers to connect - see below
- [-tcpPort <port>] The port (default: 9092)
- [-tcpPassword <pwd>] The password for shutting down a TCP server
- [-properties "<dir>"] Server properties (default: ~, disable: null)
- [-baseDir <dir>] The base directory for H2 databases (all servers)
- java -cp h2-1.4.196.jar org.h2.tools.Server -web -tcp -webAllowOthers -tcpAllowOthers -tcpPassword welcome
- TCP server running at tcp://10.157.196.152:9092 (others can connect)
- ./console.sh -url tcp://localhost:9092 -driver org.h2.Driver -user sa -password welcome
Add Comment
Please, Sign In to add comment