I'm working with Delphi and MySQL, and I would like to do a backup through
my application executing a .bat like
c:\mysql\bin\mysqldump -h%1 -u%2 -p%3 DATABASE>%4, but when I run bat
through of the following statement
" if ExecuteFile('bkdata.bat ',192.128.0.6+ ' USER' + ' PASSWORD'+'
C:\'+FormataData(DATE(),'DDMMAAAA')+'.SQL','c:\',SW_HIDE)=42
then StatusBar1.Panels[0].Text:='sucessfull!'
else StatusBar1.Panels[0].Text:=('Error');"
The .bat is run and the execution of the my application continue and show
"sucessfull" before the finalization of the backup, after that I try to
compact the .SQL but it's impossible, because the backup yet not finished,
remaining the .SQL in use.
How do I do so that my application waits until the end of the backup for
later to continue?
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php