go-mysql-org / go-mysql-elasticsearch

Sync MySQL data into elasticsearch
MIT License
4.11k stars 798 forks source link

"mysqldump": executable file not found in %PATH% #126

Open esmeraldahs opened 7 years ago

esmeraldahs commented 7 years ago

Hello everyone I was trying to Start .\bin\go-mysql-elasticsearch -config=.\etc\river.toml and when i execute it, i get the following error:

exec: "mysqldump": executable file not found in %PATH% github.com/siddontang/go-mysql/dump/dump.go:45: github.com/siddontang/go-mysql/canal/canal.go:86: github.com/siddontang/go-mysql/canal/canal.go:62: C:/Users/esmer/go/src/github.com/siddontang/go-mysql-elasticsearch/river/river.go:96: C:/Users/esmer/go/src/github.com/siddontang/go-mysql-elasticsearch/river/river.go:53:

What is going wrong ? How to put the mysqldump in %PATH% ?

siddontang commented 7 years ago

you must ensure we can find the mysqldump directly, or you can set the full path in the config file.