mysql-cluster - MySQL启动失败导致LSB启动失败
问题描述
我只是下载 mysql-cluster 的存储库
我用这个命令
rpm -ivh MySQL-Cluster-shared-gpl-7.4.10-1.el7.x86_64.rpm
rpm -ivh MySQL-Cluster-server-gpl-7.4.10-1.el7.x86_64.rpm
rpm -ivh MySQL-Cluster-client-gpl-7.4.10-1.el7.x86_64.rpm
当我尝试启动 mysql 时,它无法启动
这是错误信息
● mysql.service - LSB: start and stop MySQL
Loaded: loaded (/etc/rc.d/init.d/mysql; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2021-07-20 21:46:15 WIB; 2min 24s ago
Docs: man:systemd-sysv-generator(8)
Process: 20151 ExecStart=/etc/rc.d/init.d/mysql start (code=exited, status=1/FAILURE)
Jul 20 21:46:14 master-1 systemd[1]: Starting LSB: start and stop MySQL...
Jul 20 21:46:15 master-1 mysql[20151]: Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/master-1.pid).
Jul 20 21:46:15 master-1 systemd[1]: mysql.service: control process exited, code=exited status=1
Jul 20 21:46:15 master-1 systemd[1]: Failed to start LSB: start and stop MySQL.
Jul 20 21:46:15 master-1 systemd[1]: Unit mysql.service entered failed state.
Jul 20 21:46:15 master-1 systemd[1]: mysql.service failed.
我遇到了无法启动的 LSB 问题
解决方案
推荐阅读
- android - 如何使用android驱动程序在selenium中执行向下滚动操作(直到一定限制,而不是元素可见性)
- javascript - nativescript 处理 REST 非 200 响应
- r - 为两个图形之间的 geom_tile 设置特定的平铺大小
- python - 在 Python 中使用 replace 方法替换字符串中的值不起作用
- node.js - 如何使用 AWS Lambda Node.js 服务器实现 Braintree 并生成带有承诺的客户端令牌?
- python - 为什么这个正则表达式只捕获最后一个数字?
- javascript - 输入命令时应用程序崩溃:npm run dev
- python - Python将字符串转换为以空结尾的字节字符串
- mysql - MySQL实体关系图不显示外键链接
- javascript - 如何处理 chrome 扩展弹出窗口中的点击?