]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/whelp/searchEngine.ml
maxipatch for support of multiple DBs.
[helm.git] / daemons / whelp / searchEngine.ml
index dd3c8f2c42ba3b4db31bd176c1c373af6c88544e..f2ec31ac1c5a3ee9b0cbac78af774857680755dc 100644 (file)
@@ -507,11 +507,8 @@ let _ =
   flush stdout;
   Unix.putenv "http_proxy" "";
   let dbd () =
-    HMysql.quick_connect
-      ~host:(Helm_registry.get "db.host")
-      ~database:(Helm_registry.get "db.database")
-      ~user:(Helm_registry.get "db.user")
-      ()
+    let dbspec = LibraryDb.parse_dbd_conf () in
+    HSql.quick_connect dbspec
   in
   restore_environment ();
   read_notation ();