radondb / xenon

The MySQL Cluster Autopilot Management with GTID and Raft
GNU General Public License v3.0
693 stars 162 forks source link

xenon启动报错 麻烦帮忙看一下 #175

Open 729868954 opened 10 months ago

729868954 commented 10 months ago

报错内容如下: [root@MySQL-Master-Xemon xenon]# cat /xenon/data/xenon.log nohup: ignoring input xenon:[{Tag:v1.1.4-34-gbae9e0d Time:2023/10/27 14:31:59 Git:bae9e0d GoVersion:go1.20.6 Platform:linux amd64}] 2023/10/28 11:50:02.512056 xenon.go:52: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int] panic: [PANIC] xenon.loadconfig.error[json: cannot unmarshal string into Go struct field Config.mysql of type int]

goroutine 1 [running]: xbase/xlog.(*Log).Panic(0xc00012c3b0, {0x919afa?, 0x90f82d?}, {0xc0000ffc48?, 0xc0000ffc38?, 0x1?}) /root/xenon/src/xbase/xlog/xlog.go:164 +0xc8 main.main() /root/xenon/src/xenon/xenon.go:52 +0x34a