当前位置:网站首页>linux系统rpm方式安装的mysql启动失败
linux系统rpm方式安装的mysql启动失败
2022-07-07 02:44:00 【CSDN问答】
linux系统rpm方式安装的mysql启动失败
安装过程
[[email protected] mysql]# rpm -ivh mysql-community-common-5.7.26-1.el7.x86_64.rpm warning: mysql-community-common-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYPreparing... ################################# [100%] package mysql-community-common-5.7.26-1.el7.x86_64 is already installed[[email protected] mysql]# [[email protected] mysql]# rpm -ivh mysql-community-libs-5.7.26-1.el7.x86_64.rpm warning: mysql-community-libs-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYPreparing... ################################# [100%] package mysql-community-libs-5.7.26-1.el7.x86_64 is already installed[[email protected] mysql]# [[email protected] mysql]# rpm -ivh mysql-community-client-5.7.26-1.el7.x86_64.rpm warning: mysql-community-client-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYPreparing... ################################# [100%] package mysql-community-client-5.7.26-1.el7.x86_64 is already installed[[email protected] mysql]# [[email protected] mysql]# rpm -ivh mysql-community-server-5.7.26-1.el7.x86_64.rpm warning: mysql-community-server-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYerror: Failed dependencies: libaio.so.1()(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64 libaio.so.1(LIBAIO_0.4)(64bit) is needed by mysql-community-server-5.7.26-1.el7.x86_64[[email protected] mysql]# rpm -ivh mysql-community-server-5.7.26-1.el7.x86_64.rpm --force --nodepswarning: mysql-community-server-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEYPreparing... ################################# [100%]Updating / installing... 1:mysql-community-server-5.7.26-1.e################################# [100%][[email protected] mysql]# systemctl start mysqldJob for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
状态信息
● mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Thu 2022-06-30 10:23:20 CST; 2min 16s ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 2491 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=127) Process: 2468 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)Jun 30 10:23:19 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: mysqld.service: control process exited, code=exited status=127Jun 30 10:23:19 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: Failed to start MySQL Server.Jun 30 10:23:19 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: Unit mysqld.service entered failed state.Jun 30 10:23:19 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: mysqld.service failed.Jun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: mysqld.service holdoff time over, scheduling restart.Jun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: Stopped MySQL Server.Jun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: start request repeated too quickly for mysqld.serviceJun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: Failed to start MySQL Server.Jun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: Unit mysqld.service entered failed state.Jun 30 10:23:20 iZuf60qvqthaf6xcz6b4h2Z systemd[1]: mysqld.service failed.
版本信息
mysql --versionmysql Ver 14.14 Distrib 5.7.26, for Linux (x86_64) using EditLine wrapper
边栏推荐
- Leetcode T1165: 日志分析
- LM small programmable controller software (based on CoDeSys) Note 23: conversion of relative coordinates of servo motor operation (stepping motor) to absolute coordinates
- 根据IP获取地市
- Abnova 膜蛋白脂蛋白体技术及类别展示
- 算法---比特位计数(Kotlin)
- 中英文说明书丨ProSci LAG-3 重组蛋白
- Programmers' daily | daily anecdotes
- dolphinscheduler3. X local startup
- JWT的基础介绍
- 使用net core优势/为什么使用
猜你喜欢
Doctoral application | Professor Hong Liang, Academy of natural sciences, Shanghai Jiaotong University, enrolls doctoral students in deep learning
软件测试到了35岁,真的就干不动了吗?
Etcd database source code analysis -- starting from the start function of raftnode
毕业设计游戏商城
[opencv] morphological filtering (2): open operation, morphological gradient, top hat, black hat
Matlab / envi principal component analysis implementation and result analysis
JWT certification
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`问题解决
Programmers' daily | daily anecdotes
多个kubernetes集群如何实现共享同一个存储
随机推荐
Unable to debug screen program with serial port
dolphinscheduler3.x本地启动
Matlab / envi principal component analysis implementation and result analysis
2022/07/04学习记录
使用TCP/IP四层模型进行网络传输的基本流程
Linear algebra (1)
C language interview to write a function to find the first public string in two strings
使用net core优势/为什么使用
How can I check the DOI number of a foreign document?
一文带你了解静态路由的特点、目的及配置基本功能示例
Cloudcompare point pair selection
leetcode 509. Fibonacci Number(斐波那契数字)
【luogu P1971】兔兔与蛋蛋游戏(二分图博弈)
libcurl返回curlcode说明
算法---比特位计数(Kotlin)
MySql用户权限
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
JWT certification
The difference between string constants and string objects when allocating memory
Postgresql源码(59)分析事务ID分配、溢出判断方法