我已经在我的centos 7.9机器上安装了mysql-community-server,它的服务没有启动,并且在启动服务时给我错误,因为我也无法运行mysql_secure_installation脚本
这是我在启动服务时遇到的错误
systemctl start mysqld
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
Run Code Online (Sandbox Code Playgroud)
这是日志详细信息
tail -n 20 /var/log/mysqld.log
2021-11-30T09:38:45.003421Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-11-30T09:38:45.045895Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 2 in a file operation.
2021-11-30T09:38:45.045946Z 1 [ERROR] [MY-012593] [InnoDB] The error means the system cannot find the path specified.
2021-11-30T09:38:45.045966Z 1 [ERROR] [MY-012594] [InnoDB] If you are installing InnoDB, …Run Code Online (Sandbox Code Playgroud)