Query Database/Catalog Names

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
aksdb
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 14.09.2009, 18:09

Query Database/Catalog Names

Post by aksdb »

I'm trying to assist the users of my application to pick a database name on the selected database server. I already found the function GetCatalogNames which basically does what I want, but the problem is, that it requires me to establish a connection via ZConnection which in turn already wants a database name to be supplied.
Is there a way to query the database names by only specifying host, port, user and password?
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I think it might be possible by setting the ZConnection properties correctly. Have a look at . I believe adding 'dbless=true' might be the solution. Have a look at TZMySQLConnection.Open.
Mark
Image
Post Reply