mac 에서 ERROR! The server quit without updating PID file 에러
맥에서 잘되던 mysql이 갑자기 start가 안되면서
ERROR! The server quit without updating PID file
이런 에러를 뿜어낸다..
일단 에러 로그를 보니
2016-08-01T03:00:36.392061Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2016-08-01T03:00:36.392116Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2016-08-01T03:00:36.392143Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2016-08-01T03:00:36.696313Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2016-08-01T03:00:36.696353Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-08-01T03:00:36.696366Z 0 [ERROR] Failed to initialize plugins.
2016-08-01T03:00:36.696374Z 0 [ERROR] Aborting
ibdata1의 권한이 쓰기권한이여야 한다고 하는데 나는 권한을 건드린적이 없다..
건드린게 없는게 이상한 현상인데 해결 방법은 더 이상하다.
/usr/local/var/mysql
디렉토리를 777권한을 주면해결이 된다. 이게 대체 왜 되는건지 모르겠다..
그와 더불어 갑자기 잘되던게 왜 안되는건지도 모르겠다
나중에 시간을 들여서 찾아봐야겠다