Anyone can help me with this problem?
try to do in a mysql shell this
mysql> source c:/dump.sql;
and try to do this with a mycommand
it show an error.
It's a bug? or what?
MyDac and Source Command
-
- Posts: 5
- Joined: Tue 08 Mar 2005 12:07
TmyScript
I need to load an huge script...About 256Mb of .sql. TMyScript leaks too memory when i do a myscript1.sql.loadfromfile('c:\mydump.sql');.
How i can solve this?
How i can solve this?
Re: MyDac and Source Command
Hi,
I see this post is from 2005. Is this possible by now to restore a big mysql file? The TMyScript is using too much memory in my case too...
I see this post is from 2005. Is this possible by now to restore a big mysql file? The TMyScript is using too much memory in my case too...
Re: MyDac and Source Command
In order to execute SQL commands from file, you can use the ExecuteFile method of the TMyScript component to save memory consumption.