h2 database

java -cp h2-1.4.187.jar org.h2.tools.Shell -url jdbc:h2:file:~/.h2/hzhssh -user sa

如果有个数据库的文件名为:hzhssh.h2.db,则数据库的名字即为 hzhssh,而不是hzhssh.h2.db。

 

帮助:

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

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

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

posted @ 2015-05-02 20:35  微信公众号--共鸣圈  阅读(258)  评论(0编辑  收藏  举报