File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 5
5
### Enable MySQL binlog
6
6
7
7
> 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.
8
10
9
11
` binlog_format ` AND ` binlog_row_image ` are very important,MUST be ` ROW ` and ` FULL ` :
10
12
@@ -14,8 +16,7 @@ binlog_format=ROW
14
16
binlog_row_image =FULL
15
17
explicit_defaults_for_timestamp =true
16
18
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
19
20
server-id =1
20
21
```
21
22
@@ -47,11 +48,8 @@ Fedora
47
48
48
49
``` sh
49
50
dnf -y install \
50
- unzip \
51
- git \
52
51
java-1.8.0-openjdk \
53
- java-1.8.0-openjdk-devel \
54
- ncurses-compat-libs
52
+ java-1.8.0-openjdk-devel
55
53
```
56
54
57
55
@@ -75,6 +73,8 @@ dnf -y install \
75
73
76
74
2 . ` bin/me.sh start `
77
75
76
+ 3 . all usages:
77
+
78
78
``` sh
79
79
bin/me.sh start| stop| restart| info| status
80
80
```
Original file line number Diff line number Diff line change @@ -17,11 +17,10 @@ binlog_row_image=FULL
17
17
explicit_defaults_for_timestamp =true
18
18
log-slave-updates =1
19
19
; 在BinLog打开的时候需要设置一个ID,集群内唯一,1001之后的数字已经被本工具使用
20
- ; MUST set a server-id, the tool used the 1001+ for slave-id
21
20
server-id =1
22
21
```
23
22
24
- ### MySQL 用户
23
+ ### 创建 MySQL 用户
25
24
26
25
这个MySQL的用户必须拥有如下权限:
27
26
@@ -50,14 +49,11 @@ Fedora
50
49
``` sh
51
50
dnf -y install \
52
51
unzip \
53
- git \
54
52
java-1.8.0-openjdk \
55
- java-1.8.0-openjdk-devel \
56
- ncurses-compat-libs
53
+ java-1.8.0-openjdk-devel
57
54
```
58
55
59
-
60
- ## 狭隘 & 安装
56
+ ## 下载 & 安装
61
57
62
58
1 . 到 [ release] ( https://github.com/fly-studio/mysql-es/releases ) 页面下载最新的稳定版本
63
59
You can’t perform that action at this time.
0 commit comments