Permalink
Browse files

Fix rails dbconsole for jdbcmysql adapter.

  • Loading branch information...
1 parent b6bab2a commit dac5399af04c84c6021ee2bc169a3d17944a5fa2 Gabriel Gilder and Jim Kingdon committed May 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/dbconsole.rb
@@ -20,7 +20,7 @@ def start
ENV['RAILS_ENV'] = options[:environment] || environment
case config["adapter"]
- when /^mysql/
+ when /^(jdbc)?mysql/
args = {
'host' => '--host',
'port' => '--port',

0 comments on commit dac5399

Please sign in to comment.