MySQL Forums
Forum List  »  Connector/C++

Re: Calling mysqldump from c++
Posted by: Valery Grebnev
Date: July 12, 2007 12:51PM

Hi,
Try this

rcsp = _tspawnl(_P_WAIT, _T("C:/Program Files/MySQL/MySQL Server 5.0/bin/mysqldump"),
_T("--databases"),
_T("test"),
_T("--user"),
_T("root"),
_T("--password="),
_T(" "),
_T("--result-file"),
_T("C:/testdump.sql"),
NULL);

BTW. ">" is not an app argument

Options: ReplyQuote


Subject
Views
Written By
Posted
6478
June 26, 2007 01:19AM
Re: Calling mysqldump from c++
3382
July 12, 2007 12:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.