MacBookProのOSを再インストールし、
以前設定していたMAMP環境を構築すべく、MySQLのインストール、設定をしておりますが、以下メッセージにて起動できません。
watashino-MBP:~ hirata$ sudo mysql.server start Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/var/mysql55/watashino-MBP.local.pid).
mysql再起動をすると
watashino-MBP:~ hirata$ sudo mysql.server restart ERROR! MySQL server PID file could not be found! Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/var/mysql55/watashino-MBP.local.pid).
エラーログ「watashino-MBP.local.err」を確認したところ
161106 13:54:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql55 161106 13:54:48 [Note] /usr/local/Cellar/mysql55/5.5.49/bin/mysqld (mysqld 5.5.49) starting as process 29712 ... 161106 13:54:48 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql55/ is case insensitive 161106 13:54:48 InnoDB: The InnoDB memory heap is disabled 161106 13:54:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins 161106 13:54:48 InnoDB: Compressed tables use zlib 1.2.8 161106 13:54:48 InnoDB: Initializing buffer pool, size = 128.0M 161106 13:54:48 InnoDB: Completed initialization of buffer pool 161106 13:54:48 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 161106 13:54:48 mysqld_safe mysqld from pid file /usr/local/var/mysql55/watashino-MBP.local.pid ended
となっております。
###試したこと
とにかく昨日一日かけてググった情報をいろいろ試しましたが解決しません。
MySQLの削除、クリーンインストールも試しました。
バージョンも5.5だけでなく5.6、最新5.7も試しましたが同様です。
MySQL関連のQAはほぼ試し解決できておりません。
何卒皆様の英知をお貸しください!
どうぞよろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー