-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.yml
49 lines (47 loc) · 1.6 KB
/
database.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
development:
dialect: "mysql"
database: "crowddefensewebsite_development"
host: "beemo.at"
port: "3307"
user: "crowddefense_dev"
password: "x5nZf%J9wFAnB*#zZEFh%bkabbAQ^FQir^6xidyM*x^JW54e54czVZ*hpAXih^5t"
test:
dialect: "mysql"
#
# You can use a single URL string for the same configuration:
#
#url: "mysql://root:root@(localhost:3306)/crowddefensewebsite_test?parseTime=true&multiStatements=true&readTimeout=3s"
#
# Note that if you use `url`, other configurations are silently ignored.
# In this case, the URL must contain all required connection parameters.
#
database: "crowddefensewebsite_test"
host: "wailord"
port: "3308"
user: "crowddefense_dev"
password: "x5nZf%J9wFAnB*#zZEFh%bkabbAQ^FQir^6xidyM*x^JW54e54czVZ*hpAXih^5t"
production:
#
# You can also use environmental variables to override values in this config.
#
#url: {{envOr "DATABASE_URL" "mysql://root:root@(localhost:3306)/crowddefensewebsite_production?parseTime=true&multiStatements=true&readTimeout=3s"}}
#
dialect: "mysql"
database: "crowddefense_prod"
host: {{envOr "DATABASE_HOST" "localhost"}}
port: {{envOr "DATABASE_PORT" "3306"}}
user: {{envOr "DATABASE_USER" "crowddefense_prod"}}
password: {{envOr "DATABASE_PASSWORD" ""}}
#
# And you can also override connection parameters by setting it under options.
#
#options:
# parseTime: true
# multiStatements: true
# readTimeout: 3s
# collation: "utf8mb4_general_ci"
#
# CAUTION!
# `parseTime` and` multiStatements` must be set to `true` to work properly.
# If you are not sure, do not change (or set) these values.