Re: LiveCode SQL APIs

2011-02-14 Thread Josh Mellicker
If you have multiple users for your db, you will not want persistent connections because there's a limit to how many simultaneous connections you can have to a MySQL db. On Feb 14, 2011, at 3:08 PM, Paul Dupuis wrote: > Björnke, > > In other languages, in days gone by, it was good practice to

Re: LiveCode SQL APIs

2011-02-14 Thread Bob Sneidar
It is my experience that when connecting to web based SQL servers, that they drop you themselves after a period of idle time. This is of course, to prevent someone from running a kind of DDOS on your SQL server. Unless you control the server, you cannot disable this. I agree with the assessmen

Re: LiveCode SQL APIs

2011-02-14 Thread Paul Dupuis
Björnke, In other languages, in days gone by, it was good practice to keep the connection open if an application expected to issue multiple queries (such as a user driven reporting application) becuase there was overhead in setting up a connection and creating and opening a connection, execut

Re: LiveCode SQL APIs

2011-02-14 Thread Björnke von Gierke
I'm not a experienced sql - lc connection maker either, but i ask myself why to keep a connection alive? So I take the freedom to append my own question to yours: Some people like to keep alive their DB connections. But isn't it usually a more robust approach to close the connection as soon as