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

时间:2019-04-16 15:31:21

标签: mysql

我正在尝试启动mysql,但我不断收到错误消息,ERROR! The server quit without updating PID file (/usr/local/var/mysql/comp_name.local.pid).

我试图删除错误文件,然后重新开始,但仍然有相同的错误。

我查看了错误comp_name.local.err,并说了以下内容。

2019-04-15T20:05:46.6NZ mysqld_safe Starting mysqld daemon with databases from /usr/local/var/mysql
2019-04-15T20:05:47.336139Z 0 [System] [MY-010116] [Server] /usr/local/Cellar/mysql/8.0.15/bin/mysqld (mysqld 8.0.15) starting as process 5609
2019-04-15T20:05:47.345492Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive
2019-04-15T20:05:47.501117Z 1 [ERROR] [MY-012526] [InnoDB] Upgrade after a crash is not supported. This redo log was created with MySQL 5.7.21. Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/upgrading.html
2019-04-15T20:05:47.501152Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2019-04-15T20:05:47.812820Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
2019-04-15T20:05:47.813201Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2019-04-15T20:05:47.813398Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-04-15T20:05:47.815646Z 0 [System] [MY-010910] [Server] /usr/local/Cellar/mysql/8.0.15/bin/mysqld: Shutdown complete (mysqld 8.0.15)  Homebrew.
2019-04-15T20:05:47.6NZ mysqld_safe mysqld from pid file /usr/local/var/mysql/comp_name.local.pid ended

它似乎在抱怨升级。我做了sudo chown但还是一样的错误。

我不想卸载MySQL并重新安装,但是如果找不到解决方案,那将是我的最后选择。

有人遇到过这个问题吗?您的帮助将不胜感激。

0 个答案:

没有答案