public
Description: 1stlog是一个针对中国用户开发的基于RubyOnRails的Blog系统..
Homepage: http://iceskysl.1sters.com
Clone URL: git://github.com/IceskYsl/1stlog.git
Click here to lend your support to: 1stlog and make a donation at www.pledgie.com !
IceskYsl (author)
Mon May 26 06:47:22 -0700 2008
commit  54acbb7cad54b4f0c4155330575dd0505822faff
tree    88f02b88a59c16b6c364b72514591fe9eebdbc51
parent  25da23a1b7693df7c1252e8ec2e30e491df91c5e
1stlog / config / database_p.yml
100644 42 lines (39 sloc) 1.066 kb
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
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# gem install mysql
# Choose the win32 build.
# Install MySQL and put its /bin directory on your path.
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
  adapter: mysql
  database: 1stlog
  username: 1stlog
  password: 123456123
  host: mysql.1stodo.com
  encoding: utf8
  #socket: /var/run/mysqld/mysqld.sock
 
# 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: 1stlog_test
  username: root
  password:
  host: localhost
  encoding: utf8
 
production:
  adapter: mysql
  database: 1stlog
  username: 1stlog
  password: 123456123
  host: mysql.1stodo.com
  encoding: utf8
  #socket: /var/run/mysqld/mysqld.sock