Browse Source

#118 udated http-kit jdbc connect string

Patrick Falls 12 years ago
parent
commit
e88aa8a29f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http-kit/hello/src/hello/handler.clj

+ 1 - 1
http-kit/hello/src/hello/handler.clj

@@ -39,7 +39,7 @@
 
 
 (defn start-server [{:keys [port db-host]}]
-  (db/use-database! (str "jdbc:mysql://" db-host "/hello_world")
+  (db/use-database! (str "jdbc:mysql://" db-host "/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true")
                     "benchmarkdbuser"
                     "benchmarkdbpass")
   ;; Format responses as JSON