MySQL Forums
Forum List  »  Delphi

How to use delphi to make backup?
Posted by: Nour Nawar
Date: June 13, 2009 01:48PM

Hi all,

I want to make backup of my database (Mysql 5.1) using Delphi 2007 under Windows XP SP2

I use this code:
ShellExecute(Handle, 'open',
PChar('D:\MySQL\MySQL Server 5.1\bin\mysqldump.exe'),
PChar('--host=localhost -u root -ppassword --log-error=error.txt' +
' -d db_config > d:\1.sql.gz'), nil, 1);
But it does not work.

Any suggestion.

Best regards.

Options: ReplyQuote


Subject
Written By
Posted
How to use delphi to make backup?
June 13, 2009 01:48PM


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.