Search found 81 matches

by mparak
20.09.2008, 21:57
Forum: Feature Requests
Topic: Request TimeOut Value Property for ZConnection
Replies: 1
Views: 1974

I suspect that you mean to ask for a way to have the application gracefully timeout when a request takes longer than nn seconds. I have been searching for an answer to this for a while, and found that you could type timeout=5 in the property section of the TZconnection as I was advised to do, but it...
by mparak
11.08.2008, 14:42
Forum: MySQL
Topic: Store / retrieve Images in MySQL Using Delphi and Zeos
Replies: 2
Views: 955

Even though the images that I am inserting are minute (320X240) I find that a simple select statement returning a single record (out of 10 records on the test table) takes much too long to respond. (over the internet with remote server). I tried this from the MySQL command line and found that the de...
by mparak
11.08.2008, 07:44
Forum: MySQL
Topic: Store / retrieve Images in MySQL Using Delphi and Zeos
Replies: 2
Views: 955

Dear Friends, After making many attempts at getting advice on the "how" from both MySQL forums and Zeos forums, when I had almost given up hope of using the Blob field to store thumbnail images. I found a way that is a little convoluted but entirely successful. Clearly one of the major pro...
by mparak
29.07.2008, 19:31
Forum: MySQL
Topic: Store / retrieve Images in MySQL Using Delphi and Zeos
Replies: 2
Views: 955

Store / retrieve Images in MySQL Using Delphi and Zeos

Dear Friends, In the past I was advised to link to images in their original file format and this has worked well so far. This however requires a network share to ba made available and as we are attempting to close all the security loopholes we would like to access images from within MySQL. Blob Fiel...
by mparak
14.12.2007, 13:45
Forum: ZDBC (ZEOS Database Connectivity)
Topic: Out of memory lwehn sql.loadfromfile() for large queries
Replies: 1
Views: 3057

Out of memory lwehn sql.loadfromfile() for large queries

Dear Friends,

Should I try to TzQuery.loadfromFile on a PC with more memory, or is there some finite limit to the number of lines that can be loaded into the component.

Regards

MParak
Durban South Africa
by mparak
23.06.2007, 14:18
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: connect-timeout How is this value set from within Delphi
Replies: 2
Views: 1044

I have tried the following:

set @@global.connect_timeout=5

but have not noticed any change.

MParak
www.cad.co.za
by mparak
23.06.2007, 14:09
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: connect-timeout How is this value set from within Delphi
Replies: 2
Views: 1044

connect-timeout How is this value set from within Delphi

Dear Friends, I usually ping the remote MySQL using ICMP and if I get a response, go on to attempt to connect. This is a very effecient method of returning with the knowledge that the server is unavailable, without having the application appear ot hang while it waits for connection. If the server is...
by mparak
09.06.2007, 22:24
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Need to load, store and display images in MySQL blob fields
Replies: 0
Views: 856

Need to load, store and display images in MySQL blob fields

Dear Friends, I have always referenced images in their original form and location and loaded them on the fly into a Timage component. A very fast, reliable and efficient method. This has worked well for me until I removed all network shares and suddenly need to embed the images into a blob field in ...
by mparak
09.06.2007, 21:28
Forum: Feature Requests
Topic: BatchMove a-la BDE
Replies: 5
Views: 3304

Hi Mark, I for one have been looking forward to using federated tables to achieve just this very task. I found however that the concept was not too evolved and that it seems to have been designed for small batches of data. The fact that the "show create" command reveals the username, passw...
by mparak
01.06.2007, 20:31
Forum: Feature Requests
Topic: BatchMove a-la BDE
Replies: 5
Views: 3304

Hi Hansaplast, I assume you have tried "insert into destination_table select * from source_table" and found that this is far superior to batchmove, but need to move data between databases. MySQL works on the assumption that the databases are not on the same PC and requires the user to &quo...
by mparak
03.05.2007, 22:49
Forum: MySQL
Topic: Merge Tables Rock
Replies: 0
Views: 1044

Merge Tables Rock

Dear Friends I have recently split a large table into month files and using Merge Database engine am able to view them all together in a virtual table. Even the merge table is temporary and dynamic, in that I string together just the required files to satisfy the current query. This leads to amazing...
by mparak
03.05.2007, 07:36
Forum: MySQL
Topic: Timeout - Doesn't timeout in time to prevent hanging
Replies: 4
Views: 1765

Dear Ben, [mysql] connect_timeout=2 This sounds like a good option to help with half of the problem. Now that we can successfully timeout after failing to connect we need to timeout when a query takes too long to respond. How do we deal with a SQL script that takes longer than it should.? Regards M
by mparak
02.05.2007, 07:11
Forum: MySQL
Topic: Timeout - Doesn't timeout in time to prevent hanging
Replies: 4
Views: 1765

We are using MySQL. (MySAM)
by mparak
30.04.2007, 16:32
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: "select * from abc into outfile" local file (not
Replies: 4
Views: 6211

Dear Mark,

I was just going through this old post when I realised that the new "Federated" storage engine makes this entire process possible.

The outfile that is produced would be on the local pc's drive instead of the server's hard drive.

Regards

M Parak
by mparak
30.04.2007, 16:24
Forum: MySQL
Topic: Timeout - Doesn't timeout in time to prevent hanging
Replies: 4
Views: 1765

Timeout - Doesn't timeout in time to prevent hanging

Dear Friends, My application pings the server's IP address and connects when the server responds to the ping. This way I dont have to wait for connection to fail, which takes forever to respond. When the server is unresponsive, I would like the connection to fail (quickly) so my application can know...