"No Database connected" when ich set properties by
Posted: 11.11.2006, 12:07
Hi,
u'm use Delphi 7 witz Zeos 6.6.0 and MySQL 5.0.
It works fine. Wenn ich use the TZConnection and set the properties protocol, host, user, password and catalog in Objectinspector it works without errors and i can use the Connection.
But when i set the properties by code in runtime i become an error: SQL Error "No Database connected".
I don't understand the difference.
Can anybody help me?
Thanks, Captnemo
u'm use Delphi 7 witz Zeos 6.6.0 and MySQL 5.0.
It works fine. Wenn ich use the TZConnection and set the properties protocol, host, user, password and catalog in Objectinspector it works without errors and i can use the Connection.
But when i set the properties by code in runtime i become an error: SQL Error "No Database connected".
I don't understand the difference.
Can anybody help me?
Thanks, Captnemo