docs: update centos/software

This commit is contained in:
Administrator 2021-08-03 09:21:24 +00:00 committed by John Smith
parent f4157a90b4
commit aff873722c

View File

@ -2,7 +2,7 @@
title: 常用软件安装 title: 常用软件安装
description: CentOS中常用软件的安装 description: CentOS中常用软件的安装
published: true published: true
date: 2021-08-03T09:21:00.282Z date: 2021-08-03T09:21:22.857Z
tags: centos tags: centos
editor: markdown editor: markdown
dateCreated: 2021-08-03T08:44:11.452Z dateCreated: 2021-08-03T08:44:11.452Z
@ -89,7 +89,7 @@ $ systemctl status mysqld
mysql5.7的新特性之一就是在初始化的时候会生成一个自定义的密码,然后你需要找到这个密码,登录的时候输入。注意,输入密码的时候是不显示。 mysql5.7的新特性之一就是在初始化的时候会生成一个自定义的密码,然后你需要找到这个密码,登录的时候输入。注意,输入密码的时候是不显示。
```bash ```bash
grep 'temporary password' /var/log/mysqld.log $ grep 'temporary password' /var/log/mysqld.log
``` ```
登录数据库:这里-p之后不用输入密码回车后再输入。改过密码之后登录则是直接在-p后加密码了。 登录数据库:这里-p之后不用输入密码回车后再输入。改过密码之后登录则是直接在-p后加密码了。