go-mysql-org / go-mysql-elasticsearch

Sync MySQL data into elasticsearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

阿里云/腾讯云 mysql to es WITH MAX_USER_CONNECTIONS 10000

xzm1274913976 opened this issue · comments

commented

[2022/04/07 19:52:48] [error] sync.go:121 parse query(ALTER USER 'xxxx'@'%' WITH MAX_USER_CONNECTIONS 10000) err line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"
[2022/04/07 19:52:48] [error] canal.go:230 canal start sync binlog err: line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"
[2022/04/07 19:52:48] [error] river.go:297 start canal err line 1 column 33 near "WITH MAX_USER_CONNECTIONS 10000"

同步的账号权限太小,导致新建账户时获取binlog的账户报错 加入view权限即可.

commented

多给两个view权限.
create view
show view