File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Searching for tables in Mysql
It's not a secret anymore!