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:
parent
2617d0dc5c
commit
f64bd2ca85
1 changed files with 2 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue