TmyDump problem

TmyDump problem

Postby kenny » Mon 21 Feb 2005 07:23

Hi,
I'm using delphi 5, MyDac 3.50.0.16, MySQL 4.1.8

When I perform

With MyDump1 Do Begin
Backup;
SQL.SaveToFile('C:\MyBackup.sql');
End;

Sometime it occur the error : "Cannot create file"
Why? What is the maximum limit of MyDump1.SQL.Text?

Thanks!
kenny
 
Posts: 43
Joined: Mon 15 Nov 2004 08:48
Location: Malaysia

Postby Ikar » Mon 21 Feb 2005 10:15

This message raises on try to execute TStringList.SaveToFile (TFileStream.Create(FileName, fmCreate)). Most probably, your file is locked by another process.


> What is the maximum limit of MyDump1.SQL.Text?

At the common case, by TStringList capacity; i.e. by the volume of avaible memory.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components