Trying to understand connections
Posted: Fri 01 May 2009 15:38
I'm trying to understand when I would want to use the different connections modes in MyDAC.
Embedded seems straightforward - the database files and libmysqld.dll are included in the project directory structure. I wouldn't need MySQL running on my machine, or wouldn't need to access it over a network.
I'm a bit confused about the "native" connections, though. From a practical standpoint, when would I want TMyConnectionsOptions.direct to be true or false? Right now, I have MySQL running on my machine under the WAMP package. Ultimately, I'll have an online database via some hosting provider. Other users of my project may or may not have MySQL installed on their computers.
Could someone give me some practical examples (I'm not a db admin)?
Embedded seems straightforward - the database files and libmysqld.dll are included in the project directory structure. I wouldn't need MySQL running on my machine, or wouldn't need to access it over a network.
I'm a bit confused about the "native" connections, though. From a practical standpoint, when would I want TMyConnectionsOptions.direct to be true or false? Right now, I have MySQL running on my machine under the WAMP package. Ultimately, I'll have an online database via some hosting provider. Other users of my project may or may not have MySQL installed on their computers.
Could someone give me some practical examples (I'm not a db admin)?