Skip to content

Instantly share code, notes, and snippets.

@ephesus
Created July 21, 2015 08:43
Show Gist options
  • Save ephesus/ccf573ada68ed1d83803 to your computer and use it in GitHub Desktop.
Save ephesus/ccf573ada68ed1d83803 to your computer and use it in GitHub Desktop.
fix mysql error homebrew
$ brew info mysql
mysql: stable 5.6.25 (bottled)
Open source relational database management system
https://dev.mysql.com/doc/refman/5.6/en/
Conflicts with: mariadb, mysql-cluster, mysql-connector-c, percona-server
/usr/local/Cellar/mysql/5.6.25 (9835 files, 339M) *
....
$ mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/Jamess-MBP.pid).
$ sudo chown -R ephesus:staff /usr/local/var/mysql
$ mysql.server start
Starting MySQL
. SUCCESS!
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment