cdaddr/cow-blog

JDBC connection params in blog.config

Opened this issue · 0 comments

The DB var in the comment should use :user instead of :username.

diff --git a/src/blog/config.clj b/src/blog/config.clj
--- a/src/blog/config.clj
+++ b/src/blog/config.clj
@@ -42,7 +42,7 @@
   (def DB {:classname "org.postgresql.Driver"
            :subprotocol "postgresql"
            :subname "//localhost/blogtest"
-           :username "blogtest"
+           :user "blogtest"
            :password "blogtest"})

   ;; MySQL