Description:
moved real database config
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@6 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r3:4c1902529e7c - - 2 files changed: 36 inserted, 36 deleted
@@ -0,0 +1,36 | |||||
|
|
1 | + # MySQL (default setup). Versions 4.1 and 5.0 are recommended. | ||
|
|
2 | + # | ||
|
|
3 | + # Install the MySQL driver: | ||
|
|
4 | + # gem install mysql | ||
|
|
5 | + # On MacOS X: | ||
|
|
6 | + # gem install mysql -- --include=/usr/local/lib | ||
|
|
7 | + # On Windows: | ||
|
|
8 | + # gem install mysql | ||
|
|
9 | + # Choose the win32 build. | ||
|
|
10 | + # Install MySQL and put its /bin directory on your path. | ||
|
|
11 | + # | ||
|
|
12 | + # And be sure to use new-style password hashing: | ||
|
|
13 | + # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | ||
|
|
14 | + development: | ||
|
|
15 | + adapter: mysql | ||
|
|
16 | + database: ioi | ||
|
|
17 | + username: ioi | ||
|
|
18 | + password: ioi | ||
|
|
19 | + host: localhost | ||
|
|
20 | + | ||
|
|
21 | + # Warning: The database defined as 'test' will be erased and | ||
|
|
22 | + # re-generated from your development database when you run 'rake'. | ||
|
|
23 | + # Do not set this db to the same as development or production. | ||
|
|
24 | + test: | ||
|
|
25 | + adapter: mysql | ||
|
|
26 | + database: grader_test | ||
|
|
27 | + username: root | ||
|
|
28 | + password: | ||
|
|
29 | + host: localhost | ||
|
|
30 | + | ||
|
|
31 | + production: | ||
|
|
32 | + adapter: mysql | ||
|
|
33 | + database: ioi | ||
|
|
34 | + username: ioi | ||
|
|
35 | + password: ioi | ||
|
|
36 | + host: localhost |
deleted file |
You need to be logged in to leave comments.
Login now