forked from huginn/huginn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.yml
32 lines (30 loc) · 931 Bytes
/
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
development:
adapter: mysql2
database: huginn_development
username: root
password: password
socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
encoding: utf8
reconnect: true
pool: 5
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: mysql2
database: huginn_test
username: root
password: password
socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
encoding: utf8
reconnect: true
pool: 5
production:
adapter: mysql2
encoding: utf8
reconnect: true
database: huginn_production
pool: 5
username: root
password: password
socket: /var/run/mysqld/mysqld.sock