Attila wrote:
> Any ideas why I would get a problem with calling connect() ?
disconnect() is all but destroying the working bits underlying the
Connection object, on the theory that you're not going to use it again.
It wouldn't be hard to change DBDriver::connect() to rebuild these
things (mysql_init(), etc.) if it sees that they've been wiped out by a
disconnect() call. Patches thoughtfully considered.
Alternately, you can do as most people seem to do, which is destroy the
Connection object and create a new one. Same effect, while avoiding
this limitation.