Permalink
Browse files

add support for mysql2 adapter to dbconsole

[#4532 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent f194d65 commit 6d1344de5e6bcbd8de6ccd8cf2793fabe069102a @brianmario brianmario committed with jeremy May 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/dbconsole.rb
@@ -45,7 +45,7 @@ def find_cmd(*commands)
end
case config["adapter"]
-when "mysql"
+when /^mysql/
args = {
'host' => '--host',
'port' => '--port',

0 comments on commit 6d1344d

Please sign in to comment.