Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

index listing question

Status
Not open for further replies.

bastienk

Programmer
Joined
Mar 3, 2004
Messages
326
Location
CA
We have multiple DBs and need to replicate the index structure across the various instances.

Is there a quick way to generate a list of all the indexes on a DB?

For info: we have both MySQL CC and PhpMyAdmin as guis to the DB...

TAI


Bastien

Cat, the other other white meat
 
You could use:
[tt]
SHOW INDEX FROM tbl1;
SHOW INDEX FROM tbl2;
SHOW INDEX FROM tbl3;
[/tt]

That's the quickest I can think of.

-----
ALTER world DROP injustice, ADD peace;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top