fix wnf.py --mysql
This commit is contained in:
parent
ac8985cd63
commit
fe5a9d66b3
1 changed files with 1 additions and 1 deletions
2
wnf.py
2
wnf.py
|
|
@ -569,7 +569,7 @@ def mysql(site=None):
|
|||
import commands, os
|
||||
msq = commands.getoutput('which mysql')
|
||||
webnotes.init(site=site)
|
||||
os.execv(msq, [msq, '-u', webnotes.conf.db_name, '-p'+webnotes.conf.db_password, webnotes.conf.db_name, webnotes.conf.db_host or "localhost"])
|
||||
os.execv(msq, [msq, '-u', webnotes.conf.db_name, '-p'+webnotes.conf.db_password, webnotes.conf.db_name, '-h', webnotes.conf.db_host or "localhost"])
|
||||
webnotes.destroy()
|
||||
|
||||
@cmd
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue