Skip to content

Instantly share code, notes, and snippets.

@MattHall
Created November 20, 2009 12:09
Show Gist options
  • Save MattHall/239464 to your computer and use it in GitHub Desktop.
Save MattHall/239464 to your computer and use it in GitHub Desktop.
Get info for all DB Tables (MySQL)
SELECT table_name, engine, version, table_collation AS collation, table_rows AS rows FROM information_schema.tables WHERE table_schema = DB_NAME;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment