wj596 / go-mysql-transfer

MySQL Binlog 增量实时同步工具
Apache License 2.0
1.01k stars 275 forks source link

运行时报错,请问一下是什么情况 #61

Open bj-yuanshen opened 3 years ago

bj-yuanshen commented 3 years ago

以下是报错信息 2021-05-28 06:00:14.125715 I | process id: 24402 2021-05-28 06:00:14.125732 I | GOMAXPROCS :8 2021-05-28 06:00:14.125738 I | source mysql(192.168.0.31:3306) 2021-05-28 06:00:14.125746 I | destination kafka(192.168.0.31:9092) panic: open statics/index.html: no such file or directory

goroutine 1 [running]: html/template.Must(...) /usr/lib/go-1.16/src/html/template/template.go:374 github.com/gin-gonic/gin.(*Engine).LoadHTMLFiles(0xc00050b400, 0xc00051ce30, 0x1, 0x1) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:204 +0x377 go-mysql-transfer/web.Start(0x0, 0x0)

bravelll commented 3 years ago

I also!

lucckas commented 3 years ago

me too!

should run in workdir web/, there is the static dir