1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Ensure dbconsole includes the -p parameter to mysql as intended

This commit is contained in:
Michael Koziarski 2008-07-31 09:45:17 +02:00
parent 2617d0dc5c
commit f64bd2ca85

View file

@ -41,6 +41,8 @@ when "mysql"
if config['password'] && include_password
args << "--password=#{config['password']}"
elsif config['password'] && !config['password'].empty?
args << "-p"
end
args << config['database']