Created
August 24, 2010 18:57
-
-
Save kumarshantanu/548099 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def db-mysql | |
(let [db-host "localhost" | |
db-port 3306 | |
db-name "sqlrat"] | |
{ :classname "com.mysql.jdbc.Driver" ; must be in classpath | |
:subprotocol "mysql" | |
:subname (str "//" db-host ":" db-port "/" db-name) | |
; Any additional keys are passed to the driver | |
; as driver-specific properties. | |
:user "root" | |
:password "" })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment