lambdaisland / metabase-datomic

Datomic driver for Metabase
Mozilla Public License 2.0
65 stars 12 forks source link

datomic pro unsupported protocol issue #5

Open lenw opened 5 years ago

lenw commented 5 years ago

I have the datomic pro version building from source with no issues however when I try to connect to a url like

datomic:sql://test?jdbc:postgresql://db.example.com:5432/datomic?user=datomic&password=datomic

or

datomic:dev://localhost:4334/test

I get an exception trying to connect

:cause :db.error/unsupported-protocol Unsupported protocol :sql

I assume that the classes are not loaded correctly at the time of connect - any ideas on how to proceed ?

BenjaminZBrauer commented 5 years ago

We meet again. Such Empty! Did you find a solution? Best :) Edit I found success with the below combination of addition deps in my project : [com.datomic/client-pro "0.8.28"] [luminus-immutant "0.2.5"] [ring/ring-core "1.7.1"]] connecting to a dev backed db with (d/connect (d/client cfg) {:db-name dbname}), supplying accesskey and secretkey.. :+1: Happy hunting!