概要
H2 Databaseをインストールすることがメインなので、今回はパーミッション、アクセス権限は考えない
メモ
Javaをインストール
H2 DataBaseをインストール
H2 DataBaseに接続
# H2 DataBaseに起動 /usr/local/java/latest/bin/java -cp /opt/database/h2/bin/*.jar org.h2.tools.Server Welcome to H2 Shell 1.3.173 (2013-07-28) Exit with Ctrl+C [Enter] jdbc:h2:~/test URL [Enter] org.h2.Driver Driver [Enter] sa User [Enter] Hide Password Password Connected Commands are case insensitive; SQL statements end with ';' help or ? Display this help list Toggle result list / stack trace mode maxwidth Set maximum column width (default is 100) autocommit Enable or disable autocommit history Show the last 20 statements quit or exit Close the connection and exit sql> SELECT * FROM INFORMATION_SCHEMA.CATALOGS ; CATALOG_NAME TEST (1 row, 7 ms) sql> exit; Connection closed