Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases and the fly likes Searching for tables in Mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Searching for tables in Mysql" Watch "Searching for tables in Mysql" New topic

Searching for tables in Mysql

Sujay Nadkarni
Ranch Hand

Joined: Jul 03, 2008
Posts: 34
We have made several tables in Mysql such as Index1, CappedIndex,Nifty,etc
We want to find the tables existing in Mysql. How do we search for all the tablles in MySql!!
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Check the java.sql.DatabaseMetaData interface.

[edit] javadoc link added.
Have you tried LearnNowOnline?
subject: Searching for tables in Mysql