以前は使用できていたのですがPCを再起動した際にmysqlのエラーが出るようになってしまいました。
The server quit without updating PID fileというエラーが出てしまいます。
使用os osX yosemite
homebrewを通してインストールしました。
/usr/local/var/mysql/[pc名].local.err を見ると
2016-05-11T13:36:23.104138Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path. 2016-05-11T13:36:23.105526Z 0 [Note] /usr/local/Cellar/mysql/5.7.11/bin/mysqld (mysqld 5.7.11) starting as process 10016 ... 2016-05-11T13:36:23.123191Z 0 [Warning] Can't create test file /usr/local/var/mysql/pc名.lower-test 2016-05-11T13:36:23.123239Z 0 [Warning] Can't create test file /usr/local/var/mysql/pc名.lower-test 2016-05-11T13:36:23.139295Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2016-05-11T13:36:23.139330Z 0 [Note] InnoDB: Uses event mutexes 2016-05-11T13:36:23.139341Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2016-05-11T13:36:23.139350Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2016-05-11T13:36:23.140767Z 0 [Note] InnoDB: Number of pools: 1 2016-05-11T13:36:23.143943Z 0 [Note] InnoDB: Using CPU crc32 instructions 2016-05-11T13:36:23.239578Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2016-05-11T13:36:23.256949Z 0 [Note] InnoDB: Completed initialization of buffer pool 2016-05-11T13:36:23.270501Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable 2016-05-11T13:36:23.270560Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable 2016-05-11T13:36:23.270586Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2016-05-11T13:36:23.572247Z 0 [ERROR] Plugin 'InnoDB' init function returned error. 2016-05-11T13:36:23.572395Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2016-05-11T13:36:23.572455Z 0 [ERROR] Failed to initialize plugins. 2016-05-11T13:36:23.572482Z 0 [ERROR] Aborting 2016-05-11T13:36:23.572537Z 0 [Note] Binlog end 2016-05-11T13:36:23.575122Z 0 [Note] Shutting down plugin 'CSV' 2016-05-11T13:36:23.575203Z 0 [Note] Shutting down plugin 'keyring_file' 2016-05-11T13:36:23.576048Z 0 [Note] /usr/local/Cellar/mysql/5.7.11/bin/mysqld: Shutdown complete
と出ます。
/usr/local/var/mysql/ と その中身
の所有権は_mysql : _mysql になってます。
/usr/local/var/mysql/[pc名].local.err のみ user名 : admin です。
原因を教えていただけると幸いです。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。