Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reverse the priority of the mysql commands in dbconsole

  • Loading branch information...
commit eb2b81c766a6f9bf3c27ae0a494ae82956fb8555 1 parent 53e2e8e
@NZKoz NZKoz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/commands/dbconsole.rb
View
2  railties/lib/commands/dbconsole.rb
@@ -47,7 +47,7 @@ def find_cmd(*commands)
args << config['database']
- exec(find_cmd('mysql5', 'mysql'), *args)
+ exec(find_cmd('mysql', 'mysql5'), *args)
when "postgresql"
ENV['PGUSER'] = config["username"] if config["username"]
Please sign in to comment.
Something went wrong with that request. Please try again.