Permalink
Browse files

Adding database.yml for mysql

  • Loading branch information...
arunagw committed Jul 22, 2011
1 parent c700e84 commit 188832a6cd5a5fce735fe2cc7c9321e61f5a0f47
Showing with 15 additions and 1,123 deletions.
  1. +1 −0 .gitignore
  2. +0 −8 .idea/.generators
  3. +0 −7 .idea/.rakeTasks
  4. +0 −235 .idea/bangaloreruby.iml
  5. +0 −230 .idea/bostonrb.iml
  6. +0 −5 .idea/encodings.xml
  7. +0 −11 .idea/misc.xml
  8. +0 −9 .idea/modules.xml
  9. +0 −8 .idea/vcs.xml
  10. +0 −594 .idea/workspace.xml
  11. +14 −16 config/database.example.yml
View
@@ -10,3 +10,4 @@ all.css
*.output
*.dat
git_remote_branch/
+.idea
View
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Settings><!--This file was automatically generated by Ruby plugin.
-You are allowed to:
-1. Reorder generators
-2. Remove generators
-3. Add installed generators
-To add new installed generators automatically delete this file and reload the project.
---><GeneratorsGroup><Generator name="active_record:migration" /><Generator name="active_record:model" /><Generator name="active_record:observer" /><Generator name="active_record:session_migration" /><Generator name="controller" /><Generator name="erb:controller" /><Generator name="erb:mailer" /><Generator name="erb:scaffold" /><Generator name="generator" /><Generator name="helper" /><Generator name="integration_test" /><Generator name="mailer" /><Generator name="metal" /><Generator name="migration" /><Generator name="model" /><Generator name="model_subclass" /><Generator name="observer" /><Generator name="performance_test" /><Generator name="plugin" /><Generator name="resource" /><Generator name="scaffold" /><Generator name="scaffold_controller" /><Generator name="session_migration" /><Generator name="stylesheets" /><Generator name="test_unit:controller" /><Generator name="test_unit:helper" /><Generator name="test_unit:integration" /><Generator name="test_unit:mailer" /><Generator name="test_unit:model" /><Generator name="test_unit:observer" /><Generator name="test_unit:performance" /><Generator name="test_unit:plugin" /><Generator name="test_unit:scaffold" /></GeneratorsGroup></Settings>
View
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Settings><!--This file was automatically generated by Ruby plugin.
-You are allowed to:
-1. Remove rake task
-2. Add existing rake tasks
-To add existing rake tasks automatically delete this file and reload the project.
---><RakeGroup description="" fullCmd="" taksId="rake" /></Settings>
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
-</project>
-
View
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="DependencyValidationManager">
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
- </component>
- <component name="ProjectResources">
- <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
- </component>
- <component name="ProjectRootManager" version="2" project-jdk-name="Ruby SDK 1.9.2-p180" project-jdk-type="RUBY_SDK" />
-</project>
-
View
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="ProjectModuleManager">
- <modules>
- <module fileurl="file://$PROJECT_DIR$/.idea/bangaloreruby.iml" filepath="$PROJECT_DIR$/.idea/bangaloreruby.iml" />
- </modules>
- </component>
-</project>
-
View
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="VcsDirectoryMappings">
- <mapping directory="" vcs="" />
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
- </component>
-</project>
-
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,25 +1,23 @@
-# SQLite version 3.x
-# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
- adapter: sqlite3
- database: db/development.sqlite3
+ adapter: mysql2
+ database: bangaloreruby_development
pool: 5
- timeout: 5000
+ username: root
+ 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: &test
- adapter: sqlite3
- database: db/test.sqlite3
- pool: 5
- timeout: 5000
+ adapter: mysql2
+ database: bangaloreruby_test
+ pool: 5
+ username: root
+ password:
production:
- adapter: sqlite3
- database: db/production.sqlite3
- pool: 5
- timeout: 5000
+ adapter: mysql2
+ database: bangaloreruby_production
+ pool: 5
+ username: root
+ password:
cucumber:
<<: *test

0 comments on commit 188832a

Please sign in to comment.