启动时报错:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
可能是因为无权限访问mysql目录,使用以下命令授权目录:
chown -R mysql:mysql /var/lib/mysql/
启动时报错:Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
可能是因为无权限访问mysql目录,使用以下命令授权目录:
chown -R mysql:mysql /var/lib/mysql/