[utrrs-web] test
by Ankitkumar Patel
commit 2ae1681ec7d7e685c70ffcfaac2537dc2ad8baa0
Author: Ankitkumar Patel <ankit(a)redhat.com>
Date: Fri Jun 10 17:01:27 2011 +0530
test
portal/config/database.yml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/portal/config/database.yml b/portal/config/database.yml
index c396510..32696cb 100644
--- a/portal/config/database.yml
+++ b/portal/config/database.yml
@@ -14,6 +14,7 @@
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
+
development:
adapter: mysql
# encoding: utf8
12 years, 12 months
[utrrs-web] Added initial database configuration file
by Ankitkumar Patel
commit d6990a3f8db86f7b0a859aed8854dda7ddda52d6
Author: Ankitkumar Patel <ankit(a)redhat.com>
Date: Fri Jun 10 17:00:16 2011 +0530
Added initial database configuration file
portal/config/database.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/portal/config/database.yml b/portal/config/database.yml
new file mode 100644
index 0000000..c396510
--- /dev/null
+++ b/portal/config/database.yml
@@ -0,0 +1,48 @@
+# MySQL. Versions 4.1 and 5.0 are recommended.
+#
+# Install the MySQL driver:
+# gem install mysql
+# On Mac OS X:
+# sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
+# On Mac OS X Leopard:
+# sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
+# This sets the ARCHFLAGS environment variable to your native architecture
+# 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
+# encoding: utf8
+ reconnect: false
+ database: utrrs_development
+ pool: 5
+ username: root
+ password:
+ host: localhost
+
+# 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
+# encoding: utf8
+ reconnect: false
+ database: utrrs_test
+ pool: 5
+ username: root
+ password:
+ host: localhost
+
+production:
+ adapter: mysql
+# encoding: utf8
+ reconnect: false
+ database: utrrs_production
+ pool: 5
+ username: root
+ password:
+ host: localhost
12 years, 12 months