From e319375bdea06e92c925bc89d0ea9682ab82d0cc Mon Sep 17 00:00:00 2001 From: Dirk Uys Date: Fri, 26 Apr 2013 17:07:29 +0300 Subject: [PATCH] Fix bug causing mysqldump to fail --- mysql_db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql_db b/mysql_db index fb73e057632..c0f24a3fde3 100644 --- a/mysql_db +++ b/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)