diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-08-24 13:19:38 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-24 13:20:23 +0200 |
commit | eb2b81c766a6f9bf3c27ae0a494ae82956fb8555 (patch) | |
tree | bc0779137fd97dc249e686bb0b95f0b9011e08af /railties | |
parent | 53e2e8ef2bebb7fb444fe472c657ddb11fae1c89 (diff) | |
download | rails-eb2b81c766a6f9bf3c27ae0a494ae82956fb8555.tar.gz rails-eb2b81c766a6f9bf3c27ae0a494ae82956fb8555.tar.bz2 rails-eb2b81c766a6f9bf3c27ae0a494ae82956fb8555.zip |
Reverse the priority of the mysql commands in dbconsole
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/commands/dbconsole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/dbconsole.rb b/railties/lib/commands/dbconsole.rb index 442526ae32..5be3b5dd8e 100644 --- a/railties/lib/commands/dbconsole.rb +++ b/railties/lib/commands/dbconsole.rb @@ -47,7 +47,7 @@ when "mysql" args << config['database'] - exec(find_cmd('mysql5', 'mysql'), *args) + exec(find_cmd('mysql', 'mysql5'), *args) when "postgresql" ENV['PGUSER'] = config["username"] if config["username"] |