H2 数据库

资料:

http://topmanopensource.iteye.com/blog/1748129 

官网:

http://www.h2database.com/html/tutorial.html

 

 

查看H2 server模式启动时的参数:

$ java -cp h2*.jar org.h2.tools.Server -?

 

Starts the H2 Console (web-) server, TCP, and PG server.

Usage: java org.h2.tools.Server <options>

When running without options, -tcp, -web, -browser and -pg are started.

Options are case sensitive. Supported options are:

[-help] or [-?]         Print the list of options

[-web]                  Start the web server with the H2 Console

[-webAllowOthers]       Allow other computers to connect - see below

[-webDaemon]            Use a daemon thread

[-webPort <port>]       The port (default: 8082)

[-webSSL]               Use encrypted (HTTPS) connections

[-browser]              Start a browser connecting to the web server

[-tcp]                  Start the TCP server

[-tcpAllowOthers]       Allow other computers to connect - see below

[-tcpDaemon]            Use a daemon thread

[-tcpPort <port>]       The port (default: 9092)

[-tcpSSL]               Use encrypted (SSL) connections

[-tcpPassword <pwd>]    The password for shutting down a TCP server

[-tcpShutdown "<url>"]  Stop the TCP server; example: tcp://localhost

[-tcpShutdownForce]     Do not wait until all connections are closed

[-pg]                   Start the PG server

[-pgAllowOthers]        Allow other computers to connect - see below

[-pgDaemon]             Use a daemon thread

[-pgPort <port>]        The port (default: 5435)

[-properties "<dir>"]   Server properties (default: ~, disable: null)

[-baseDir <dir>]        The base directory for H2 databases (all servers)

[-ifExists]             Only existing databases may be opened (all servers)

[-trace]                Print additional trace information (all servers)

[-key <from> <to>]      Allows to map a database name to another (all servers)

The options -xAllowOthers are potentially risky.

For details, see Advanced Topics / Protection against Remote Access.

See also http://h2database.com/javadoc/org/h2/tools/Server.html

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值