Pass the password argument in db_create
git-svn-id: file:///home/svn/framework3/trunk@7823 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f157d66625
commit
e2a5cb0ebe
|
@ -1431,7 +1431,7 @@ class Db
|
|||
system("dropdb #{cargs} #{info[:name]} >/dev/null 2>&1")
|
||||
system("createdb #{cargs} #{info[:name]}")
|
||||
|
||||
opts['pass'] ||= ''
|
||||
opts['password'] = info[:pass] || ''
|
||||
|
||||
# Do a little legwork to find the real database socket
|
||||
if(! opts['host'])
|
||||
|
|
Loading…
Reference in New Issue