diff options
author | Gabriel Gilder and Jim Kingdon <git+gabriel+jkingdon@squareup.com> | 2014-05-05 14:55:48 -0700 |
---|---|---|
committer | Gabriel Gilder and Jim Kingdon <git+gabriel+jkingdon@squareup.com> | 2014-05-05 14:55:48 -0700 |
commit | dac5399af04c84c6021ee2bc169a3d17944a5fa2 (patch) | |
tree | e2e1ad56baebefeb41d0ba80b139739daa53f867 | |
parent | b6bab2af144d3f35ae2e1661286f2e35f43f5d3a (diff) | |
download | rails-dac5399af04c84c6021ee2bc169a3d17944a5fa2.tar.gz rails-dac5399af04c84c6021ee2bc169a3d17944a5fa2.tar.bz2 rails-dac5399af04c84c6021ee2bc169a3d17944a5fa2.zip |
Fix rails dbconsole for jdbcmysql adapter.
-rw-r--r-- | railties/lib/rails/commands/dbconsole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/dbconsole.rb b/railties/lib/rails/commands/dbconsole.rb index f6d8aec30d..1a2613a8d0 100644 --- a/railties/lib/rails/commands/dbconsole.rb +++ b/railties/lib/rails/commands/dbconsole.rb @@ -20,7 +20,7 @@ module Rails ENV['RAILS_ENV'] = options[:environment] || environment case config["adapter"] - when /^mysql/ + when /^(jdbc)?mysql/ args = { 'host' => '--host', 'port' => '--port', |