Starting MySQL... ERROR! The server quit without updating PID file (/data/mysql/localhost.pid).
Starting MySQL… ERROR! The server quit without updating PID file (/data/mysql/localhost.pid).今天遇到一个linux安装mysql错误,启动mysql的时候报:Starting MySQL… ERROR! The server quit without updating PID file (/data/my
·
Starting MySQL… ERROR! The server quit without updating PID file (/data/mysql/localhost.pid).
今天遇到一个linux安装mysql错误,启动mysql的时候报:
Starting MySQL… ERROR! The server quit without updating PID file (/data/mysql/localhost.pid).
解决步骤:
你可以先去 /etc/my.cnf查看错误日志
看到错误日志有一行Table ‘mysql.plugin’ doesn’t exist导致mysql启动不了
这时候就要进入到mysql的bin目录下重新初始化:
执行
./mysqld --initialize --user=mysql --console
命令然后有一个临时密码
更多推荐
已为社区贡献1条内容
所有评论(0)