ERROR! The server quit without updating PID fileを解決したい
MySQLがタイトルのエラーが表示され起動しません。
特にbrew update等のコマンドを実行した覚えはないのですが...
もし解決策が分かる方入ればご教示願います。
mysql.server startを実行するたびに◯◯◯.pidが削除される状態です。
発生している問題・エラーメッセージ
ERROR! The server quit without updating PID file (/usr/local/var/mysql/◯◯◯.pid).
該当のソースコード
MySQL
12020-10-15T14:17:18.777705Z 0 [System] [MY-010116] [Server] /usr/local/Cellar/mysql/8.0.21_1/bin/mysqld (mysqld 8.0.21) starting as process 39680 22020-10-15T14:17:18.787334Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive 32020-10-15T14:17:18.819038Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 42020-10-15T14:17:18.858353Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 5(上記のコマンドがしばらくひたすら表示されます) 62020-10-15T14:18:59.470272Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 72020-10-15T14:18:59.477343Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 35 in a file operation. 82020-10-15T14:18:59.479066Z 1 [ERROR] [MY-012596] [InnoDB] Error number 35 means 'Resource temporarily unavailable' 92020-10-15T14:18:59.482545Z 1 [ERROR] [MY-012215] [InnoDB] Cannot open datafile './ibdata1' 102020-10-15T14:18:59.483836Z 1 [ERROR] [MY-012959] [InnoDB] Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data! 112020-10-15T14:18:59.485201Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Cannot open a file. 122020-10-15T14:18:59.487193Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine 132020-10-15T14:18:59.488557Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 142020-10-15T14:18:59.490994Z 0 [ERROR] [MY-010119] [Server] Aborting 152020-10-15T14:18:59.491844Z 0 [System] [MY-010910] [Server] /usr/local/Cellar/mysql/8.0.21_1/bin/mysqld: Shutdown complete (mysqld 8.0.21) Homebrew. 16 17
試したこと
http://tech-outlines.hateblo.jp/entry/2015/03/24/180940
こちらのサイトより権限をmysqlに変更しても起動せず、◯◯◯.pidファイルを作成しようとするとoparation not permittedと表示され
ファイルも作成できなくなりました。

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