Mydac MyDump.BackupQuery

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
penreiter
Posts: 2
Joined: Wed 06 Dec 2006 10:52

Mydac MyDump.BackupQuery

Post by penreiter » Thu 08 Mar 2012 18:34

Hi,
I do not understand how to use the BackupQuery function in the way that I can store the result into a file.

How can I define the location and filename that has to be used by the function.

Thank for your support

best regards

Peter

AndreyZ

Post by AndreyZ » Mon 12 Mar 2012 12:02

Hello,

You can use the TMyDump.BackupToFile method. Here is an example:

Code: Select all

MyDump.BackupToFile('C:\backup.txt');
For more information, please read the MyDAC documentation.

Post Reply