my dog learned polymorphism*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Searching for tables in Mysql
Similar Threads
Migrating from mysql to mssql
Listing tables in mySQL
Hibernate column formula
My tables are not working any more please help..
How to make relations inside between mysql database tables