Skip to content

Commit 64b0d23

Browse files
committed
update command
1 parent 0dafceb commit 64b0d23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There is a [sample config](https://github.com/zhongbiaodev/py-mysql-elasticsearc
4343
Simply run command
4444

4545
```
46-
python3 main.py path/to/your/config.yaml
46+
es-sync path/to/your/config.yaml
4747
```
4848
and the tool will dump your data as stream to sync, when dump is over, it will start to sync binlog.
4949

@@ -54,7 +54,7 @@ Or if you but want to load it from your own dumpfile. You should dump your tabl
5454
then
5555

5656
```
57-
python3 main.py path/to/your/config.yaml --fromfile
57+
es-sync path/to/your/config.yaml --fromfile
5858
```
5959
to start sync, when xml sync is over, it will also start binlog sync.
6060

0 commit comments

Comments
 (0)