V4MD : Connecting to a local DB AND to a server DB possible ?
Ivan Smahin
IvanSmahin at public.kherson.ua
Tue Aug 14 08:20:43 CDT 2007
Hello Steven,
Tuesday, August 14, 2007, 4:09:36 PM, you wrote:
> Hi Bart,
> I did include it, and it works : in the example below I first correctly make
> the
> gConn object, open it and connect to the database, close the database, close
> the
> connection object again and then I do the Init() call. I reuse the same
> gConn object,
> open it, try to connect to the database, but then get the error that the
> login and/or
> password are not correct, which obviously they are, as it worked a few
> milliseconds
> before
> If I remove the gVal.init() line, the same code Works flawlessly.
> If I put the gVal.init() line near the gVal.initClient() line, the First
> attempt to
> connect to the database also fails.
> So I continue to search ...
You should not reuse connection object.
--
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com
More information about the Valentina
mailing list