File: database.yml

package info (click to toggle)
libgettext-ruby 1.7.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,892 kB
  • ctags: 1,198
  • sloc: ruby: 6,738; ansic: 67; makefile: 38; sql: 14; sh: 6
file content (39 lines) | stat: -rw-r--r-- 823 bytes parent folder | download
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
development:
  adapter: mysql
  socket: /var/lib/mysql/mysql.sock
#  socket: /tmp/mysql.sock
  database: blog
  host: localhost
  encoding: utf8
  username: root
  password:

#development:
#  adapter: postgresql
#  database: blog
#  host: localhost
#  username: postgres
#  password: 

# 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: mysql
  database: blog_test
  host: localhost
  socket: /var/lib/mysql/mysql.sock
#  socket: /tmp/mysql.sock
  encoding: utf8
  username: root
  password:

production:
  adapter: mysql
  socket: /var/lib/mysql/mysql.sock
#  socket: /tmp/mysql.sock
  database: blog
  host: localhost
  encoding: utf8
  username: root
  password: