modify h2db option to launch using server mode
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/9fb1fee6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/9fb1fee6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/9fb1fee6 Branch: refs/heads/master Commit: 9fb1fee6dd95bd349fb0d460739aa2ffb34b09cc Parents: f8c323b Author: Chul Kang <[email protected]> Authored: Tue Apr 10 17:46:22 2018 +0900 Committer: Chul Kang <[email protected]> Committed: Wed Apr 11 02:57:49 2018 +0900 ---------------------------------------------------------------------- conf/application.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/9fb1fee6/conf/application.conf ---------------------------------------------------------------------- diff --git a/conf/application.conf b/conf/application.conf index 5dfa653..1ffea4a 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -72,6 +72,7 @@ # ex) to use mysql as metastore, change db.default.driver = "com.mysql.jdbc.Driver" # and db.default.url to point to jdbc connection. db.default.driver = "org.h2.Driver" -db.default.url = "jdbc:h2:file:./var/metastore;MODE=MYSQL" +//db.default.url = "jdbc:h2:file:./var/metastore;MODE=MYSQL" +db.default.url = "jdbc:h2:tcp://localhost/~/graph-dev;MODE=MYSQL" db.default.user = "sa" db.default.password = "sa"
