Skip to content

Instantly share code, notes, and snippets.

@jamiehs
Created November 11, 2013 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiehs/7415442 to your computer and use it in GitHub Desktop.
Save jamiehs/7415442 to your computer and use it in GitHub Desktop.
Find MySQL Log Location
$(ps auxww|sed -n '/sed -n/d;/mysqld /{s/.* \([^ ]*mysqld\) .*/\1/;p;}') --verbose --help|grep '^log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment