Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KunSir991 committed Nov 27, 2024
1 parent 3a08358 commit d4a6f72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Binary file added docs/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 16 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,19 @@ LNMP运行环境在计算巢上部署的费用主要涉及:
3. 点击立即创建,等待服务实例创建完成。服务实例创建成功后,进入服务实例概览页。
<img src="4.jpg" width="100%" align="bottom"/>
4. 访问服务地址查看环境部署结果。
<img src="5.jpg" width="100%" align="bottom"/>
<img src="5.jpg" width="100%" align="bottom"/>

## 修改mysql密码
1. 获取初始 root 密码,连接ECS执行以下命令:
```shell
sudo grep 'temporary password' /var/log/mysqld.log
```
<img src="6.jpg" width="100%" align="bottom"/>
2. 使用初始密码连接mysql:
```shell
mysql -u root -p
```
3. 修改密码
```shell
ALTER USER 'root'@'localhost' IDENTIFIED BY 'YourNewPassword!';
```

0 comments on commit d4a6f72

Please sign in to comment.