Creating a database - shesse/h2ha GitHub Wiki
For security reasons H2Ha starts the H2 database with the -ifExists flag. This means, that it is not possible to create a database using a normal database connection.
Instead, for creating a new database, you must use the H2HA create command as follows:
java -jar h2ha-server-*.one-jar.jar create \
-server machine-a,machine-b -database mydbname -user adminuser -password adminpasswd
You may add any H2 parameter to mydbname separated by a semicolon (make sure to escape it correctly for the UNIX / Linux shell). This may be necessary for parameters that need to be specified on the first connection which creates the database file.