Skip to content

Instantly share code, notes, and snippets.

@zxcvbnm4709
Created July 27, 2011 10:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save zxcvbnm4709/1109088 to your computer and use it in GitHub Desktop.
"$(brew --prefix mysql)"/bin/mysql_secure_installation
jim@mbp: ~$ "$(brew --prefix mysql)"/bin/mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment