Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created February 8, 2013 16:05
Show Gist options
  • Select an option

  • Save IanVaughan/4739974 to your computer and use it in GitHub Desktop.

Select an option

Save IanVaughan/4739974 to your computer and use it in GitHub Desktop.
Quickly inspect database from the command line
mysql -h $HOST -u $USER -p $PASSWORD -e "use $DATABASE; describe $TABLE;" | grep $FIELD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment