Fix rails dbconsole for jdbcmysql adapter.
This commit is contained in:
parent
b6bab2af14
commit
dac5399af0
|
@ -20,7 +20,7 @@ module Rails
|
||||||
ENV['RAILS_ENV'] = options[:environment] || environment
|
ENV['RAILS_ENV'] = options[:environment] || environment
|
||||||
|
|
||||||
case config["adapter"]
|
case config["adapter"]
|
||||||
when /^mysql/
|
when /^(jdbc)?mysql/
|
||||||
args = {
|
args = {
|
||||||
'host' => '--host',
|
'host' => '--host',
|
||||||
'port' => '--port',
|
'port' => '--port',
|
||||||
|
|
Loading…
Reference in New Issue