Skip to content

Instantly share code, notes, and snippets.

@opensas
Created November 5, 2011 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save opensas/1341154 to your computer and use it in GitHub Desktop.
Save opensas/1341154 to your computer and use it in GitHub Desktop.
Configure an h2 file database to a specific location
# by default, when db=fs is specified
# play stores the h2 database file at db/h2/play
# with this setting you can
# specify another location for the h2 file database
db.driver=org.h2.Driver
db.url=jdbc:h2:file:data/play;MODE=MYSQL
db.user=sa
db.pass=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment