Skip to content

Instantly share code, notes, and snippets.

@backviet
Forked from mogetutu/osx_mysql_ownership_fix
Created November 30, 2016 03:26
Show Gist options
  • Save backviet/9f1eccaedaec35f7fd589a401351a274 to your computer and use it in GitHub Desktop.
Save backviet/9f1eccaedaec35f7fd589a401351a274 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