Merge pull request #2786 from dirkcuys/patch-1
Fix bug causing mysqldump to fail
This commit is contained in:
commit
8147cf9915
1 changed files with 1 additions and 1 deletions
2
mysql_db
2
mysql_db
|
@ -109,7 +109,7 @@ def db_delete(cursor, db):
|
|||
return True
|
||||
|
||||
def db_dump(host, user, password, db_name, target):
|
||||
res = os.system("/usr/bin/mysqldump -q -h "+host+"-u "+user+ " --password="+password+" "
|
||||
res = os.system("/usr/bin/mysqldump -q -h "+host+" -u "+user+ " --password="+password+" "
|
||||
+db_name+" > "
|
||||
+target)
|
||||
return (res == 0)
|
||||
|
|
Loading…
Reference in a new issue