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