Reputation: 123
H2 database manual says:
The settings of the H2 Console are stored in a configuration file called
.h2.server.properties
in you user home directory.
Is there any way to change the location of the configuration file to some specified directory?
Upvotes: 1
Views: 1819
Reputation: 50147
You can use the -properties
setting as documented in the Server tool, as follows:
java -jar h2.jar -properties "/directory"
Upvotes: 1