|
@@ -25,7 +25,7 @@ BResult MySql::dump()
|
25
|
25
|
{
|
26
|
26
|
BResult res;
|
27
|
27
|
_dumpFilePath = getTempFile();
|
28
|
|
- int status = system(std::string("mysqldump --routines '-h" + _masterConfig.getHost() + "'"
|
|
28
|
+ int status = system(std::string("mysqldump '-h" + _masterConfig.getHost() + "'"
|
29
|
29
|
+ " '-u" + _masterConfig.getUser() + "'"
|
30
|
30
|
+ " '-p" + _masterConfig.getPassword() + "'"
|
31
|
31
|
+ " " + _masterConfig.getDatabase()
|