On Mon, Oct 11, 1999 at 08:44:45AM +0100, Gordon Bissell scribbled:
> mySQL version: 3.22
> Platform : RedHat Linux 6
>
> I'm working on a C program that currently connects to a mySQL database,
> performs a simple query, and exits. This program will be called in response
> to user action from a web page (i.e it's likely it will be called often, and
> by many different users).
>
> I was wondering if a more efficient solution might be to have a C based
> program always running (and always connected to the mysql database). It
> could then accept requests from the web browser.
>
> Would this be worth my time (in other words is continually connecting and
> disconnecting from a mySQL database inefficient or doesn't it really
> matter?)
>
How about using PHP's persistant connections?
Chris...
--
What's the point? NT is not the solution.
NT is the problem.
Computers make very fast, very accurate mistakes.
PGP fingerprint: 063FCE320681C336 78C164FC9B2F91EA

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.