Skip to content

Instantly share code, notes, and snippets.

@aNd1coder
Forked from mogetutu/osx_mysql_ownership_fix
Created May 24, 2016 12:54
Show Gist options
  • Save aNd1coder/817de384197096f1965e7fc50d319530 to your computer and use it in GitHub Desktop.
Save aNd1coder/817de384197096f1965e7fc50d319530 to your computer and use it in GitHub Desktop.
'warning the user/local/mysql/data directory is not owned by the mysql user', you have to:
sudo chown -RL root:mysql /usr/local/mysql
sudo chown -RL mysql:mysql /usr/local/mysql/data
sudo /usr/local/mysql/support-files/mysql.server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment