[email protected] mysql / rpm ivh mysql community common 5.7.26 1.el7.x86 64.rpm warning: mysql community com...">

当前位置:网站首页>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
原网站

版权声明
本文为[CSDN问答]所创,转载请带上原文链接,感谢
https://ask.csdn.net/questions/7751053