Skip to content

Commit 16a2271

Browse files
author
fly
committed
fix manuals
1 parent f30ccf5 commit 16a2271

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

docs/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
### Enable MySQL binlog
66

77
> Warning: Computer must have enough free space for enabling bin-log.
8+
>
9+
> Don't worry about your historical data, this tool could sync these via other way.
810
911
`binlog_format` AND `binlog_row_image` are very important,MUST be `ROW` and `FULL`:
1012

@@ -14,8 +16,7 @@ binlog_format=ROW
1416
binlog_row_image=FULL
1517
explicit_defaults_for_timestamp=true
1618
log-slave-updates=1
17-
; 在BinLog打开的时候需要设置一个ID,集群内唯一,1001之后的数字已经被本工具使用
18-
; MUST set a server-id, the tool used the 1001+ for slave-id
19+
; MUST set a server-id, this tool used the 1001+ for slave-id
1920
server-id=1
2021
```
2122

@@ -47,11 +48,8 @@ Fedora
4748

4849
```sh
4950
dnf -y install \
50-
unzip \
51-
git \
5251
java-1.8.0-openjdk \
53-
java-1.8.0-openjdk-devel \
54-
ncurses-compat-libs
52+
java-1.8.0-openjdk-devel
5553
```
5654

5755

@@ -75,6 +73,8 @@ dnf -y install \
7573

7674
2. `bin/me.sh start`
7775

76+
3. all usages:
77+
7878
```sh
7979
bin/me.sh start|stop|restart|info|status
8080
```

docs/zh-install.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ binlog_row_image=FULL
1717
explicit_defaults_for_timestamp=true
1818
log-slave-updates=1
1919
; 在BinLog打开的时候需要设置一个ID,集群内唯一,1001之后的数字已经被本工具使用
20-
; MUST set a server-id, the tool used the 1001+ for slave-id
2120
server-id=1
2221
```
2322

24-
### MySQL 用户
23+
### 创建 MySQL 用户
2524

2625
这个MySQL的用户必须拥有如下权限:
2726

@@ -50,14 +49,11 @@ Fedora
5049
```sh
5150
dnf -y install \
5251
unzip \
53-
git \
5452
java-1.8.0-openjdk \
55-
java-1.8.0-openjdk-devel \
56-
ncurses-compat-libs
53+
java-1.8.0-openjdk-devel
5754
```
5855

59-
60-
## 狭隘 & 安装
56+
## 下载 & 安装
6157

6258
1.[release](https://github.com/fly-studio/mysql-es/releases) 页面下载最新的稳定版本
6359

0 commit comments

Comments
 (0)