Skip to content
This repository
Browse code

Add :reconnect option to generated mysql database.yml [#1838 state:re…

…solved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit 8d35b36d1a20bf2792ed9d43f5edb1d644e348a4 1 parent 5b5d0e3
Mike Gunderloy authored February 01, 2009 lifo committed February 01, 2009

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  railties/configs/databases/mysql.yml
3  railties/configs/databases/mysql.yml
@@ -17,6 +17,7 @@
17 17
 development:
18 18
   adapter: mysql
19 19
   encoding: utf8
  20
+  reconnect: false
20 21
   database: <%= app_name %>_development
21 22
   pool: 5
22 23
   username: root
@@ -33,6 +34,7 @@ development:
33 34
 test:
34 35
   adapter: mysql
35 36
   encoding: utf8
  37
+  reconnect: false
36 38
   database: <%= app_name %>_test
37 39
   pool: 5
38 40
   username: root
@@ -46,6 +48,7 @@ test:
46 48
 production:
47 49
   adapter: mysql
48 50
   encoding: utf8
  51
+  reconnect: false
49 52
   database: <%= app_name %>_production
50 53
   pool: 5
51 54
   username: root

0 notes on commit 8d35b36

Please sign in to comment.
Something went wrong with that request. Please try again.