aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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
 
Consider Paul's rocket mass heater.
 
subject: How to retrieve the name of databases on a server in Mysql?