Reverse the priority of the mysql commands in dbconsole
This commit is contained in:
parent
53e2e8ef2b
commit
eb2b81c766
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user