To set up the H2 database, execute the following steps:
- Download a distribution from http://www.h2database.com/html/download.html.
- Extract the archive to a location of your choice. We will refer to this as H2_HOME.
- From the command line, go to the H2_HOME/bin folder.
- Start the H2 database server by issuing either of these commands:
-
- On Unix, issue the following:
./h2.sh
h2.bat
- This will launch your browser and point to the H2 Admin console, as seen in the following screenshot:
The H2 Admin console (before the connection)
- Create a test database named test by changing your ...