Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@ffmike ffmike authored lifo committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  railties/configs/databases/mysql.yml
View
3  railties/configs/databases/mysql.yml
@@ -17,6 +17,7 @@
development:
adapter: mysql
encoding: utf8
+ reconnect: false
database: <%= app_name %>_development
pool: 5
username: root
@@ -33,6 +34,7 @@ development:
test:
adapter: mysql
encoding: utf8
+ reconnect: false
database: <%= app_name %>_test
pool: 5
username: root
@@ -46,6 +48,7 @@ test:
production:
adapter: mysql
encoding: utf8
+ reconnect: false
database: <%= app_name %>_production
pool: 5
username: root
Please sign in to comment.
Something went wrong with that request. Please try again.