GeeCON Prague 2014*
The moose likes JDBC and the fly likes How to retrieve the name of databases on a server in Mysql? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to retrieve the name of databases on a server in Mysql?" Watch "How to retrieve the name of databases on a server in Mysql?" New topic
Author

How to retrieve the name of databases on a server in Mysql?

Richard Vagner
Ranch Hand

Joined: Jun 26, 2001
Posts: 107
Hi,
I am writing a jsp page in which I need retrieve the names of the databases on a particular server in MySQL.
For example: I have a server called localhost , and on localhost I have database001, database002, database003. So How can I retrieve these names on localhost via JDBC?
Please help!
Thanks!
Roland
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to retrieve the name of databases on a server in Mysql?