mysql - Mysql - mysqld.service 的作业失败,因为控制进程以错误代码退出
问题描述
我使用此链接成功安装mysql80-community-release-el7-1.noarch.rpm
,我试图使用以下链接更改我的。它在第 2 步之前运行良好,但在第 3 步,当我尝试使用它启动 mysql 时,出现如下错误:Centos 7
datadir
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
我是新来的。
解决方案
推荐阅读
- node.js - 用户在 Node.JS 中登录时快速会话出错
- python - SymPy 秩与 NumPy 矩阵秩不同
- android - 在 ppi 较小的设备上,字体和图标看起来很暗淡且像素化
- reactjs - 通过 props 将 PropTypes 值传递给有状态的 React 子组件
- progressive-web-apps - 用于渐进式 Web 应用程序的 Web 服务器
- javascript - JS 显示列表中特定行的最快方法是什么?
- mongodb - 我应该使用 EBS 还是 EFS 作为数据库?
- php - 将变量从 PHP 返回到 AJAX
- swift - swift如何从第二个vai协议和委托模式中的逻辑更新第一个控制器?
- c# - ASP.NET Core 2.1 MVC:模型绑定时未调用 IModelValidator 对象,为什么?