。错误!服务器退出而不更新PID文件

时间:2018-08-14 08:09:19

标签: mysql macos terminal

当我尝试命令服务mysql启动时,出现此错误:

. ERROR! The server quit without updating PID file (/usr/local/mysql/data/*********deMacBook-Pro.local.pid).

enter image description here

这是错误日志:

2018-08-14T08:03:38.625706Z 0 [System] [MY-010116] [Server] /usr/local/mysql/bin/mysqld (mysqld 8.0.12) starting as process 1390
2018-08-14T08:03:38.629531Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive
2018-08-14T08:03:38.635656Z 0 [ERROR] [MY-011370] [Server] Plugin keyring_file reported: 'File '/usr/local/mysql/keyring/keyring' not found (OS errno 13 - Permission denied)'
2018-08-14T08:03:38.635703Z 0 [ERROR] [MY-011355] [Server] Plugin keyring_file reported: 'keyring_file initialization failure. Please check if the keyring_file_data points to readable keyring file or keyring file can be created in the specified location. The keyring_file will stay unusable until correct path to the keyring file gets provided'
2018-08-14T08:03:38.638318Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2018-08-14T08:03:38.638484Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2018-08-14T08:03:38.638507Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-08-14T08:03:38.639742Z 0 [System] [MY-010910] [Server] /usr/local/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.12)  MySQL Community Server - GPL.

这是我的mysql配置:

enter image description here

如何解决此问题以在Mac中运行mysql?谢谢

0 个答案:

没有答案