mysql-mysqld.service的作业失败,因为控制进程退出,并返回错误代码

ugmeyewa  于 2021-06-20  发布在  Mysql
关注(0)|答案(0)|浏览(324)

我安装了 mysql80-community-release-el7-1.noarch.rpm 在我的 Centos 7 使用此链接成功,我试图改变我的 datadir 使用以下链接。在第2步之前,它一直工作得很好,但在第3步,当我尝试开始使用mysql时 sudo 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. 我尝试了以下解决方案:
第一
第二
但他们似乎都不适合我。这是我的梦想 /var/log/mysqld.log 档案上写着:

2018-06-15T09:08:32.294452Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.11) initializing of server in progress as process 14593
2018-06-15T09:08:37.698910Z 5 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 7Y8An3/,r?ww
2018-06-15T09:08:40.729296Z 0 [System] [MY-013170] [Server] /usr/sbin/mysqld (mysqld 8.0.11) initializing of server has completed
2018-06-15T09:08:43.257796Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.11) starting as process 14695
2018-06-15T09:08:43.896289Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2018-06-15T09:08:43.936018Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.11'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server - GPL.
2018-06-15T09:21:15.039285Z 0 [Warning] [MY-011068] [Server] The syntax 'validate password plugin' is deprecated and will be removed in a future release. Please use validate_password component instead.
2018-06-15T09:21:16.575642Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.11)  MySQL Community Server - GPL

我是新来的。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题