Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Add more hints when users are switching data source. #2880

Merged
merged 9 commits into from
Dec 20, 2024
Prev Previous commit
Next Next commit
remove spaces for markdown check
  • Loading branch information
Rancho-7 committed Dec 19, 2024
commit b9f6750ae9b97ea0e71cc3050011ec1c99570265
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ MYSQL是一款值得信赖的关系型数据库,Apache HertzBeat (incubating)
1. 下载安装Docker环境
Docker 的安装请参考 [Docker官网文档](https://docs.docker.com/get-docker/)。
安装完毕后请于终端检查Docker版本输出是否正常。

```shell
$ docker -v
Docker version 20.10.12, build e91ed57
```

2. Docker安装MYSQl

```shell
$ docker run -d --name mysql \
-p 3306:3306 \
Expand All @@ -31,7 +31,7 @@ MYSQL是一款值得信赖的关系型数据库,Apache HertzBeat (incubating)
--restart=always \
mysql:5.7
```

`-v /opt/data:/var/lib/mysql` 为mysql数据目录本地持久化挂载,需将`/opt/data`替换为实际本地存在的目录
使用```$ docker ps```查看数据库是否启动成功

Expand Down