Is it possible to iterate the available databases on a Server?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Aquineas
Posts: 4
Joined: Mon 21 Jan 2008 20:27
Contact:

Is it possible to iterate the available databases on a Server?

Post by Aquineas » Mon 21 Jan 2008 21:54

Is it possible using the MySql VCL components to iterate the available databases on a server? I see how to do it via the MYSQL SHOW DATABASES
SQL command, but before I did that I wondered if there was another way.


Thanks

Aquineas
Posts: 4
Joined: Mon 21 Jan 2008 20:27
Contact:

Post by Aquineas » Mon 21 Jan 2008 22:15

Nevermind, I found it in TCustomDAConnection.GetDatabaseNames(), for the benefit of anyone else who's looking.

Post Reply