diff options
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml index c3349912aa..b9b78dcf20 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +++ b/railties/lib/rails/generators/rails/app/templates/config/databases/mysql.yml @@ -14,6 +14,8 @@ development: database: <%= app_name %>_development pool: 5 username: root + # Remember to use quotes incase of numeric passwords to force string type to yaml parser + # for example, use "123456" instead of 123456 password: <% if mysql_socket -%> socket: <%= mysql_socket %> |