Skip to content

Instantly share code, notes, and snippets.

@mocyuto
Created November 22, 2014 00:28
Show Gist options
  • Save mocyuto/ab5389933e2e6a662451 to your computer and use it in GitHub Desktop.
Save mocyuto/ab5389933e2e6a662451 to your computer and use it in GitHub Desktop.
confファイル
db {
driver = "com.mysql.jdbc.Driver"
salt = "xxxxxx"
max-active = 10
max-idle = 5
max-wait = 5000
initial-size = 1
validation-query = "SELECT 1"
test-on-borrow = true
time-between-evection-runs-mills = 30000
test-while-idle = true
hoge {
host = "localhost"
port = 3306
name = "hoge"
user = "root"
password = "password"
}
fuga {
host = "localhost"
port = 3306
name = "fuga"
user = "root"
password = "password"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment