Skip to content

Instantly share code, notes, and snippets.

@iradofurioso
Created July 17, 2019 20:17
Show Gist options
  • Save iradofurioso/f1228f26706aba6b7e2870793f8dd348 to your computer and use it in GitHub Desktop.
Save iradofurioso/f1228f26706aba6b7e2870793f8dd348 to your computer and use it in GitHub Desktop.
Find mysql.sock in use (the correct one)
-- An easy way to find which mysql.sock is being used and the path of it, simply log in into your mysql and run this command:
SHOW VARIABLES LIKE '%sock%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment